Skip to content

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

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 #209

Workflow file for this run

# SPDX-FileCopyrightText: Copyright 2025 The SLSA Authors
# SPDX-License-Identifier: Apache-2.0
---
name: golangci-lint
on:
workflow_dispatch: {}
pull_request:
branches:
- main
permissions: {}
jobs:
golangci:
name: lint
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- 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
- uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
with:
go-version: ${{ env.GOVERSION }}
check-latest: true
cache: false
- run: |
go get -d ./...
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
version: v2.8