Skip to content

Find, verify, and analyze leaked credentials

Update github-actions (#5197)

renovate[bot]a904c69a58a0
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index 7092f4ea4..7c4e12e30 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -42,10 +42,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4
+ uses: github/codeql-action/init@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -56,4 +56,4 @@ jobs:
run: |
go build .
- name: Perform CodeQL Analysis
- uses: github/codeql-action/analyze@f205ea1c3313d32999d8d6a48b4f6530d4437b38 # v4
+ uses: github/codeql-action/analyze@db488ddef3bf6cb639b32c2e9a7c0a7ea8271d28 # v4
diff --git a/.github/workflows/detector-corpora-test.yml b/.github/workflows/detector-corpora-test.yml
index 6bd76b552..5d7febed1 100644
--- a/.github/workflows/detector-corpora-test.yml
+++ b/.github/workflows/detector-corpora-test.yml
@@ -33,7 +33,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Install dependencies
run: sudo apt-get install -y zstd jq
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 96bec0ed3..06d597b19 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -18,12 +18,12 @@ jobs:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: golangci-lint
uses: golangci/golangci-lint-action@ba0d7d2ec06a0ea1cb5fa41b2e4a3ab91d21278a # v9
with:
# NOTE: Version and args must match scripts/lint.sh
- version: v2.12.2
+ version: v2.13.1
args: --enable bodyclose,copyloopvar,misspell --timeout 10m
man-page-staleness:
name: man-page-staleness
@@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Regenerate man page
run: make man
- name: Check for staleness
@@ -59,6 +59,6 @@ jobs:
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803 # v6
- uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Run checksecretparts
run: go run ./hack/checksecretparts -fail ./pkg/detectors
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index af89451bd..beb4711d9 100644
--- a/.github/workflows/performance.yml
+++ b/.github/workflows/performance.yml
@@ -19,7 +19,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Run Head
run: |
diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml
index 9b3a6c7ad..bab633cc5 100644
--- a/.github/workflows/release.yml
+++ b/.github/workflows/release.yml
@@ -37,7 +37,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Cosign install
uses: sigstore/cosign-installer@7e8b541eb2e61bf99390e1afd4be13a184e9ebc5 # v3.10.1
- name: Install UPX
diff --git a/.github/workflows/smoke.yml b/.github/workflows/smoke.yml
index 7b6b2020d..79c112b3e 100644
--- a/.github/workflows/smoke.yml
+++ b/.github/workflows/smoke.yml
@@ -12,7 +12,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Smoke
run: |
set -e
@@ -27,7 +27,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Run trufflehog
run: |
set -e
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 165bf22be..0ca5d211a 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -22,7 +22,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- id: "auth"
uses: "google-github-actions/auth@7c6bc770dae815cd3e89ee6cdf493a5fab2cc093" # v3
with:
@@ -64,6 +64,6 @@ jobs:
- name: Install Go
uses: actions/setup-go@924ae3a1cded613372ab5595356fb5720e22ba16 # v6
with:
- go-version: "1.26"
+ go-version: "1.27"
- name: Test
run: make test-community
diff --git a/scripts/lint.sh b/scripts/lint.sh
index 51148d2a2..aad2a4b86 100755
--- a/scripts/lint.sh
+++ b/scripts/lint.sh
@@ -2,7 +2,7 @@
set -euo pipefail
# NOTE: Version and args must match .github/workflows/lint.yml
-GOLANGCI_LINT_VERSION="v2.12.2"
+GOLANGCI_LINT_VERSION="v2.13.1"
LINT_ARGS="--enable bodyclose,copyloopvar,misspell --timeout 10m"