Skip to content

Use go.mod tool directive #3233

Use go.mod tool directive

Use go.mod tool directive #3233

Workflow file for this run

name: Build and Test
on: [push, pull_request]
permissions:
contents: read
jobs:
build:
name: Go CI
runs-on: ubuntu-latest
strategy:
matrix:
go: ["1.24", "1.25"]
steps:
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 #5.5.0
with:
go-version: ${{ matrix.go }}
- name: Check out source
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 #v5.0.0
- name: Build
run: go build ./...
- name: Test
run: |
sh ./run_tests.sh