Skip to content

Update .golangci.yml #59

Update .golangci.yml

Update .golangci.yml #59

Workflow file for this run

name: CI
on:
push:
branches:
- 'master'
- 'release-**'
pull_request:
jobs:
ci:
name: Lint and unit test
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: "1.21"
- name: Environment
run: |
go version
go env
- name: Lint
run: make lint
- name: Test
run: make test
- name: Code coverage
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}