Skip to content

ci(tools): update golangci/golangci-lint-action action to v6.1.0 #206

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

ci(tools): update golangci/golangci-lint-action action to v6.1.0 #206

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/golangci-lint-action@v6.1.0
with:
version: v1.54
- name: run tests
run: make test