Skip to content

Bump actions/attest-build-provenance from 3.2.0 to 4.1.0 #308

Bump actions/attest-build-provenance from 3.2.0 to 4.1.0

Bump actions/attest-build-provenance from 3.2.0 to 4.1.0 #308

Workflow file for this run

name: CI
on: push
jobs:
build:
runs-on: ubuntu-latest
name: Go test
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Get latest Go version
id: gover
run: echo goversion=$(awk -F':|-' '!/^#/ {print $2}' .github/dockerfile-for-dependabot/Dockerfile) >> "$GITHUB_OUTPUT"
- name: Setup go
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: "${{ steps.gover.outputs.goversion }}"
- run: |
go mod download
go test -race -coverprofile=coverage.txt -covermode=atomic