Skip to content

Bump golang from 1.25.6 to 1.25.7 in the all group #305

Bump golang from 1.25.6 to 1.25.7 in the all group

Bump golang from 1.25.6 to 1.25.7 in the all group #305

Workflow file for this run

# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
# SPDX-License-Identifier: Apache-2.0
---
name: Go Tests (sourcetool)
on:
pull_request:
branches:
- main
permissions: {}
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
persist-credentials: false
- name: Extract version of Go to use
run: echo "GOVERSION=$(awk -F'[:@]' '/FROM golang/{print $2; exit}' Dockerfile)" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GOVERSION }}
check-latest: true
cache: false
- name: Setup Buf
uses: bufbuild/buf-setup-action@a47c93e0b1648d5651a065437926377d060baa99 # v1.50.0
- name: Setup protoc
uses: arduino/setup-protoc@c65c819552d16ad3c9b72d9dfd5ba5237b9c906b # @v3.0.0
- name: Run Go tests
run: |
go test -v ./...
- name: Check generated fakes
run: |
hack/verify-fakes.sh
- name: Check protobuf generated codew
run: |
go install google.golang.org/protobuf/cmd/protoc-gen-go@latest
hack/verify-protos.sh