Skip to content

fix: fix check error #132

fix: fix check error

fix: fix check error #132

Workflow file for this run

name: Build
on:
push:
branches:
- main
- v0.2.x
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
go: ['1.20', '1.21', '1.22']
name: Go ${{ matrix.go }} sample
steps:
- uses: actions/checkout@v4
- name: Setup go
uses: actions/setup-go@v4
with:
go-version: ${{ matrix.go }}
- name: Depend
run: sudo make dependencies
- name: Test
run: |
sudo make lint
sudo make cover
- name: CodeCov
uses: codecov/codecov-action@v3
with:
token: ${{secrets.CODECOV_TOKEN}}
file: ./coverage.txt
- name: Pre-Build
run: sudo git fetch --prune --unshallow
- name: Build
run: sudo make release