chore: update all project files, update to Go v1.21 #120
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.19.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/[email protected] | |
with: | |
version: v1.49 | |
- name: run tests | |
run: make test |