Update actions/checkout action to v5

This commit is contained in:
renovate[bot]
2025-08-11 14:10:13 +00:00
committed by GitHub
parent 7343b039ee
commit 8fa1770068
3 changed files with 4 additions and 4 deletions

View File

@@ -40,7 +40,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
# Initializes the CodeQL tools for scanning. # Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL - name: Initialize CodeQL

View File

@@ -10,7 +10,7 @@ jobs:
id-token: "write" id-token: "write"
contents: "read" contents: "read"
steps: steps:
- uses: "actions/checkout@v4" - uses: "actions/checkout@v5"
- uses: "DeterminateSystems/nix-installer-action@main" - uses: "DeterminateSystems/nix-installer-action@main"
- uses: "DeterminateSystems/flakehub-push@main" - uses: "DeterminateSystems/flakehub-push@main"
with: with:

View File

@@ -6,7 +6,7 @@ jobs:
test-nix: test-nix:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
with: with:
# Nix Flakes doesn't work on shallow clones # Nix Flakes doesn't work on shallow clones
fetch-depth: 0 fetch-depth: 0
@@ -26,7 +26,7 @@ jobs:
with: with:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- name: Checkout code - name: Checkout code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
- name: Format - name: Format
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
if: matrix.os == 'ubuntu-latest' if: matrix.os == 'ubuntu-latest'