chore: bump go version to 1.21 (#131) #398
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
name: CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code into the Go module directory | |
uses: actions/checkout@v3 | |
- name: Set up Go 1.21 | |
uses: actions/setup-go@v4 | |
with: | |
go-version: "1.21" | |
- name: Verify go.mod is sane | |
run: go mod tidy && git diff --no-patch --exit-code | |
- name: Install dependencies | |
run: go mod download | |
- name: Build | |
run: make build | |
- name: Test | |
shell: bash | |
run: make test |