Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
name: golangci-lint
runs-on: blacksmith-4vcpu-ubuntu-2404
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4
with:
persist-credentials: false
- uses: actions/setup-go@40f1582b2485089dde7abd97c1529aa768e1baff # v5
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version-file: go.mod
- name: golangci-lint
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9.3.0
with:
version: latest
args: --timeout=10m
4 changes: 2 additions & 2 deletions .github/workflows/idle_timer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ jobs:
runs-on: blacksmith-4vcpu-ubuntu-2404
timeout-minutes: 5
steps:
- uses: actions/setup-go@be3c94b385c4f180051c996d336f57a34c397495 # v3
- uses: actions/setup-go@b7ad1dad31e06c5925ef5d2fc7ad053ef454303e # v7.0.0
with:
go-version: '1.21.5'
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setup-go runs before checkout

Low Severity

Bumping actions/setup-go from v3 to v7 enables caching by default, but this job still runs setup before actions/checkout. Without go.mod present, cache restore fails each run and emits warnings.

Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit 7905cec. Configure here.

with:
persist-credentials: false
- name: build bazel-remote
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
version: ${{ steps.release_source.outputs.version }}
steps:
- name: checkout release tag
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3
with:
ref: refs/tags/${{ inputs.release_tag }}
fetch-depth: 0
Expand Down Expand Up @@ -91,7 +91,7 @@ jobs:
VERSION: ${{ needs.validate.outputs.version }}
steps:
- name: checkout code
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3
with:
ref: ${{ needs.validate.outputs.source_sha }}
persist-credentials: false
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
VERSION: ${{ needs.validate.outputs.version }}
steps:
- name: checkout
uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v3
with:
ref: ${{ needs.validate.outputs.source_sha }}
persist-credentials: false
Expand Down
Loading