Skip to content

ci(tools): update build tools #402

ci(tools): update build tools

ci(tools): update build tools #402

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@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
- name: install Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.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@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
with:
version: v2.1.2
- name: run tests
run: make test