Skip to content

ci(tools): update golangci/golangci-lint-action action to v6.1.1 #227

ci(tools): update golangci/golangci-lint-action action to v6.1.1

ci(tools): update golangci/golangci-lint-action action to v6.1.1 #227

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@v4
- name: install Go
uses: actions/setup-go@v5
with:
go-version: ^1.21
- name: get modules
run: go mod vendor
- name: generate
run: make generate
- name: format
run: make format && git diff --exit-code
- name: golangci-lint
uses: golangci/[email protected]
with:
version: v1.54
- name: run tests
run: make test