Skip to content

Commit 9c81e1d

Browse files
gh-actions: bump actions/setup-go from 5 to 6 (#620)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: George L. Yermulnik <[email protected]>
1 parent a520891 commit 9c81e1d

File tree

5 files changed

+23
-15
lines changed

5 files changed

+23
-15
lines changed

.github/workflows/build.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,12 @@ jobs:
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Checkout repo
20-
uses: actions/checkout@v5
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
21+
with:
22+
persist-credentials: false
2123

2224
- name: Install Go
23-
uses: actions/setup-go@v5
25+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
2426
with:
2527
go-version-file: "go.mod"
2628
cache: false
@@ -47,10 +49,12 @@ jobs:
4749
runs-on: ${{ matrix.os }}
4850
steps:
4951
- name: Checkout repo
50-
uses: actions/checkout@v5
52+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
53+
with:
54+
persist-credentials: false
5155

5256
- name: Install Go
53-
uses: actions/setup-go@v5
57+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
5458
with:
5559
go-version-file: "go.mod"
5660
cache: false
@@ -85,10 +89,12 @@ jobs:
8589
runs-on: ${{ matrix.os }}
8690
steps:
8791
- name: Checkout repo
88-
uses: actions/checkout@v5
92+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
93+
with:
94+
persist-credentials: false
8995

9096
- name: Install Go
91-
uses: actions/setup-go@v5
97+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
9298
with:
9399
go-version-file: "go.mod"
94100
cache: false

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,17 +60,19 @@ jobs:
6060
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
6161
steps:
6262
- name: Checkout repository
63-
uses: actions/checkout@v5
63+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
64+
with:
65+
persist-credentials: false
6466

6567
- name: Set up Go
66-
uses: actions/setup-go@v5
68+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
6769
with:
6870
go-version-file: "go.mod"
6971
cache: false
7072

7173
# Initializes the CodeQL tools for scanning.
7274
- name: Initialize CodeQL
73-
uses: github/codeql-action/init@v3
75+
uses: github/codeql-action/init@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
7476
with:
7577
languages: ${{ matrix.language }}
7678
build-mode: ${{ matrix.build-mode }}
@@ -93,6 +95,6 @@ jobs:
9395
CGO_ENABLED: 0 # Build statically linked binaries
9496

9597
- name: Perform CodeQL Analysis
96-
uses: github/codeql-action/analyze@v3
98+
uses: github/codeql-action/analyze@2d92b76c45b91eb80fc44c74ce3fce0ee94e8f9d # v3.30.0
9799
with:
98100
category: "/language:${{matrix.language}}"

.github/workflows/multi-labeler.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
on:
66
pull_request:
77
types: [opened, edited, synchronize, ready_for_review]
8-
branches: [master, main]
8+
branches: [master, main] # zizmor: ignore[dangerous-triggers]
99

1010
pull_request_target: # for OSS with public contributions (forked PR)
1111
types: [opened, edited, synchronize, ready_for_review]
@@ -24,4 +24,4 @@ jobs:
2424
name: Multi Labeler
2525
runs-on: ubuntu-latest
2626
steps:
27-
- uses: fuxingloh/multi-labeler@v4
27+
- uses: fuxingloh/multi-labeler@b15a54460c38f54043fa75f7b08a0e2aa5b94b5b # v4.0.0

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737

3838
# Install Go
3939
- name: Install Go
40-
uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
40+
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
4141
with:
4242
go-version-file: "go.mod"
4343
cache: false

.github/workflows/super-linter.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,15 @@ jobs:
2424

2525
steps:
2626
- name: Checkout code
27-
uses: actions/checkout@v5
27+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
with:
2929
persist-credentials: false
3030
# super-linter needs the full git history to get the
3131
# list of files that changed across commits
3232
fetch-depth: 0
3333

3434
- name: super-linter
35-
uses: super-linter/super-linter/slim@v8
35+
uses: super-linter/super-linter/slim@ffde3b2b33b745cb612d787f669ef9442b1339a6 # v8.1.0
3636
env:
3737
# To report GitHub Actions status checks
3838
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)