Skip to content

ci(tools): update build tools #452

ci(tools): update build tools

ci(tools): update build tools #452

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@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
- name: install Go
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
with:
go-version-file: .go-version
- 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@e7fa5ac41e1cf5b7d48e45e42232ce7ada589601 # v9.1.0
with:
version: v2.1.2
- name: run tests
run: make test