github actions defaults to v1.20 #96
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: Rockset go cli | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Go | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '1.21' | |
- name: Fetch dependencies | |
run: go mod download | |
- name: Vet | |
run: go vet ./... | |
- name: Run unit tests | |
run: go test -v ./... | |
- name: Build | |
run: go build -o rockset |