Skip to content

Update golangci/golangci-lint-action action to v6 #50

Update golangci/golangci-lint-action action to v6

Update golangci/golangci-lint-action action to v6 #50

Workflow file for this run

name: test-and-lint
on: push
permissions:
contents: read
jobs:
gotest:
strategy:
matrix:
os: [ubuntu, macos]
runs-on: ${{ matrix.os }}-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 'stable'
- name: go-generate
run: go generate ./...
- name: go-test
run: go test ./pkg/...
- name: golangci-lint
uses: golangci/golangci-lint-action@v6
with:
version: 'v1.55'