Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Github workflow files #3

Merged
merged 5 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build-timestamped-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Build
on:
push:
branches:
- master
- main
paths-ignore:
- '*.md'
- 'docs/**'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-with-bal-test-graalvm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
lang_tag:
description: Branch/Release Tag of the Ballerina Lang
required: true
default: master
default: main
lang_version:
description: Ballerina Lang Version (If given ballerina lang build will be skipped)
required: false
Expand All @@ -19,7 +19,7 @@ on:
- cron: '30 18 * * *'
pull_request:
branches:
- master
- main
types: [ opened, synchronize, reopened, labeled, unlabeled ]

concurrency:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:
push:
branches:
- master
- main
paths:
- 'docs/spec/**'

Expand Down
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,19 @@
[![GraalVM Check](https://github.com/ballerina-platform/module-ballerina-avro/actions/workflows/build-with-bal-test-graalvm.yml/badge.svg)](https://github.com/ballerina-platform/module-ballerina-avro/actions/workflows/build-with-bal-test-graalvm.yml)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/ballerina-platform/module-ballerina-avro.svg)](https://github.com/ballerina-platform/module-ballerina-avro/commits/master)
[![Github issues](https://img.shields.io/github/issues/ballerina-platform/ballerina-standard-library/module/avro.svg?label=Open%20Issues)](https://github.com/ballerina-platform/ballerina-standard-library/labels/module%2Favro)
[![codecov](https://codecov.io/gh/ballerina-platform/module-ballerina-avro/branch/master/graph/badge.svg)](https://codecov.io/gh/ballerina-platform/module-ballerina-avro)
Nuvindu marked this conversation as resolved.
Show resolved Hide resolved

Avro is an open-source data serialization system that enables efficient binary serialization and deserialization. It allows users to define schemas for structured data, providing better representation and fast serialization/deserialization. Avro's schema evolution capabilities ensure compatibility and flexibility in evolving data systems.

The Ballerina Avro module provides the capability to efficiently serialize and deserialize data using Avro schemas.

## Schema

`Schema` is will take the Avro schema in string format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize and deserilize data and the data should be in the correct format.
The `Schema` instance takes an Avro schema in `string` format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize data into bytes using the defined schema and deserialize the bytes back to the correct data type based on the schema.

A `Schema` can be defined using the string value of an Avro schema as shown below:
A `Schema` can be defined using the `string` value of an Avro schema as shown below.

```ballerina
avro:Schema schema = check new(string `{"type": "int", "name" : "intValue", "namespace": "data" }`);
avro:Schema schema = check new(string `{"type": "int", "namespace": "example.data" }`);
```

## APIs associated with Avro
Expand Down
8 changes: 4 additions & 4 deletions ballerina/Module.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Avro is an open-source data serialization system that enables efficient binary s

The Ballerina Avro module provides the capability to efficiently serialize and deserialize data using Avro schemas.

### Schema
## Schema

`Schema` is will take the Avro schema in string format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize and deserilize data and the data should be in the correct format.
The `Schema` instance takes an Avro schema in `string` format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize data into bytes using the defined schema and deserialize the bytes back to the correct data type based on the schema.

A `Schema` can be defined using the string value of an Avro schema as shown below:
A `Schema` can be defined using the `string` value of an Avro schema as shown below.

```ballerina
avro:Schema schema = check new(string `{"type": "int", "name" : "intValue", "namespace": "data" }`);
avro:Schema schema = check new(string `{"type": "int", "namespace": "example.data" }`);
```

### APIs associated with Avro
Expand Down
8 changes: 4 additions & 4 deletions ballerina/Package.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ Avro is an open-source data serialization system that enables efficient binary s

The Ballerina Avro module provides the capability to efficiently serialize and deserialize data using Avro schemas.

### Schema
## Schema

`Schema` is will take the Avro schema in string format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize and deserilize data and the data should be in the correct format.
The `Schema` instance takes an Avro schema in `string` format. And will return an error if the schema is not a valid Avro schema. The client can be used to serialize data into bytes using the defined schema and deserialize the bytes back to the correct data type based on the schema.

A `Schema` can be defined using the string value of an Avro schema as shown below:
A `Schema` can be defined using the `string` value of an Avro schema as shown below.

```ballerina
avro:Schema schema = check new(string `{"type": "int", "name" : "intValue", "namespace": "data" }`);
avro:Schema schema = check new(string `{"type": "int", "namespace": "example.data" }`);
```

### APIs associated with Avro
Expand Down
Loading