Skip to content

ci(tools): update dependency golangci/golangci-lint to v2.13.0 (#290) #665

ci(tools): update dependency golangci/golangci-lint to v2.13.0 (#290)

ci(tools): update dependency golangci/golangci-lint to v2.13.0 (#290) #665

Workflow file for this run

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
name: generate-and-test
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
fetch-depth: 0
- name: install Go
uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: .go-version
- name: get modules
run: go mod vendor
- name: install tools
run: |
make tools
echo "$(go env GOPATH)/bin" >> "$GITHUB_PATH"
- name: generate
run: make generate
- name: format
run: make format && git diff --exit-code
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: v2.13.0
- name: run tests
run: make test
- name: run tests (race)
run: make test-race
- name: apidiff
run: make apidiff