Skip to content

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

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

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

Workflow file for this run

---
name: test
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: "${{ github.workflow }}-$${{ github.pull_request.number || github.run_id }}"
cancel-in-progress: true
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
goVer:
- "1.21"
- "1.22"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: ${{ matrix.goVer }}
- run: go test -v -coverprofile="coverage.out" ./...
- run: go tool cover -func="coverage.out"
- uses: vladopajic/go-test-coverage@v2.10.1
with:
config: ".github/testcoverage.yml"