Skip to content

Bump actions/checkout from 4.2.2 to 6.0.1 #15

Bump actions/checkout from 4.2.2 to 6.0.1

Bump actions/checkout from 4.2.2 to 6.0.1 #15

Workflow file for this run

# This workflow will checkout, build, and run the tests.
# For more information see:
# https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-go
name: Go Build and Test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# Test on supported go compiler releases as well as the oldest version we support from go.mod.
go: [ '1.24', 'stable' ]
name: Go version ${{ matrix.go }}
steps:
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Set up Go
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
with:
go-version: ${{ matrix.go }}
- name: Build
run: go build -v ./...
- name: Test
run: go test -v ./...