Merge pull request #145 from runpod/fix-brew-version #27
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: test | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Go 1.22 | |
uses: actions/setup-go@v5 | |
with: | |
go-version: 1.22 | |
# You can test your matrix by printing the current Go version | |
- name: Display Go version | |
run: go version | |
- name: run vet | |
run: go vet ./... | |
- name: build all packages | |
run: go build ./... | |
- name: Run tests | |
run: go test -vet=off --cover ./... |