Skip to content

Bump golangci/golangci-lint-action from 5 to 6 #2

Bump golangci/golangci-lint-action from 5 to 6

Bump golangci/golangci-lint-action from 5 to 6 #2

Workflow file for this run

name: Go
on:
pull_request:
- push
push:
branches: [main]
# This concurrency rule is not really relevant here but is nice for
# cut-n-pasting to elsewhere
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version-file: 'go.mod'
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: latest
- run: |
make build
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}