Skip to content

Bump actions/setup-go from 5.0.2 to 5.1.0 #1764

Bump actions/setup-go from 5.0.2 to 5.1.0

Bump actions/setup-go from 5.0.2 to 5.1.0 #1764

Workflow file for this run

name: Build
on:
pull_request:
branches:
- 'main'
jobs:
build:
strategy:
fail-fast: false
matrix:
go-version:
- '1.22'
- '1.23'
name: Build ${{ matrix.go-version }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@41dfa10bad2bb2ae585af6ee5bb4d7d973ad74ed # v5.1.0
with:
go-version: ${{ matrix.go-version }}
check-latest: true
- uses: golang/govulncheck-action@b625fbe08f3bccbe446d94fbf87fcc875a4f50ee # v1.0.4
with:
go-version-input: ${{ matrix.go-version }}
- run: |
go build ./...
go test -run=^$ ./...