Skip to content

Bump Swatinem/rust-cache from 2.7.1 to 2.7.3 #124

Bump Swatinem/rust-cache from 2.7.1 to 2.7.3

Bump Swatinem/rust-cache from 2.7.1 to 2.7.3 #124

Workflow file for this run

name: Go build
# Run either when pushing directly to main/master or in a PR targeting main/master
on:
push:
branches:
- master
- main
paths:
- "**.go"
- "go/go.mod"
- "go/go.sum"
- ".github/workflows/go.yml"
pull_request:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./go
steps:
- uses: actions/checkout@v4
- name: Setup Go
uses: actions/setup-go@v5
with:
go-version: "1.21.x"
cache-dependency-path: go/go.sum
- name: Install dependencies
run: go get .
- name: Build
run: go build -v ./...
- name: Test with the Go CLI
run: go test