Skip to content

fix: ci

fix: ci #59

Workflow file for this run

name: Go
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v5
- name: Set up Go 1.x
uses: actions/setup-go@v6
with:
go-version: "1.x"
check-latest: true
id: go
- name: Build
run: make build
- name: Generate
run: make generate
- name: Test
run: make test
- name: Run golangci-lint
uses: golangci/golangci-lint-action@v9
with:
version: latest
skip-cache: true
- name: Coveralls
uses: shogo82148/actions-goveralls@v1
with:
path-to-profile: build/coverage.out
finish:
needs: build
runs-on: ubuntu-latest
steps:
- name: Coveralls Finished
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel-finished: true