Skip to content

chore: update all project files, update to Go v1.21 (#51) #122

chore: update all project files, update to Go v1.21 (#51)

chore: update all project files, update to Go v1.21 (#51) #122

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.x
- 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@v3.7.0
with:
version: v1.54
- name: run tests
run: make test