Skip to content

Codec for binary serialization into json protocol (#72) #26

Codec for binary serialization into json protocol (#72)

Codec for binary serialization into json protocol (#72) #26

Workflow file for this run

##
## Build the main branch
##
name: build
on:
push:
branches:
- main
- /refs/heads/main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.22"
- uses: actions/checkout@v4
- name: go build
run: |
go build ./...
- name: go test
run: |
go test -v -coverprofile=profile.cov $(go list ./... | grep -v /examples/)
env:
## GOPATH required to build serverless app inside unittest
GOPATH: /home/runner/work/${{ github.event.repository.name }}/go
- uses: shogo82148/actions-goveralls@v1
continue-on-error: true
with:
path-to-profile: profile.cov
- uses: reecetech/[email protected]
id: version
with:
scheme: semver
increment: patch
- name: publish
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git tag ${{ steps.version.outputs.v-version }}
git push origin -u ${{ steps.version.outputs.v-version }}