Skip to content

build(deps): bump actions/checkout from 6.0.3 to 7.0.1 #3157

build(deps): bump actions/checkout from 6.0.3 to 7.0.1

build(deps): bump actions/checkout from 6.0.3 to 7.0.1 #3157

Workflow file for this run

name: Lint
on:
push:
branches:
- master
- release/**
pull_request:
permissions:
contents: read
defaults:
run:
shell: bash
concurrency:
group: lint-${{ github.ref }}
cancel-in-progress: true
jobs:
golangci-lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
go-version: "1.25"
cache-dependency-path: "**/go.sum"
- name: Compute lint targets
id: lint-targets
run: echo "targets=$(go work edit -json | jq -r '[.Use[].DiskPath | . + "/..."] | join(" ")')" >> $GITHUB_OUTPUT
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # pin@v8.0
with:
version: v2.11.4
args: --timeout=10m ${{ steps.lint-targets.outputs.targets }}
timeout-minutes: 10