Update go from 1.22.5 to 1.22.7 #37
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
name: Run tests | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
env: | |
# Common versions | |
GO_VERSION: '1.22.7' | |
GOLANGCI_LINT_VERSION: 'v1.59.1' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ env.GO_VERSION }} | |
cache: false # The golangci-lint action does its own caching. | |
- name: Lint | |
uses: golangci/golangci-lint-action@v6 | |
with: | |
version: ${{ env.GOLANGCI_VERSION }} | |
- name: Run quality control checks | |
run: make vet | |
- name: Run tests | |
run: make test | |
- name: Build | |
run: make build |