Skip to content

Commit 9db59bd

Browse files
Merge pull request #90 from RichiH/bastischubert/1755268344
update gh actions to according to prometheus/prometheus
2 parents 7ee351f + da14ac0 commit 9db59bd

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,21 @@ jobs:
2020

2121
steps:
2222
- name: Checkout repository
23-
uses: actions/checkout@v3
24-
- uses: actions/setup-go@v3
23+
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2524
with:
26-
go-version: '>=1.20 <1.21'
25+
persist-credentials: false
26+
27+
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5.0
28+
with:
29+
go-version: 1.24.x
2730

2831
- name: Initialize CodeQL
29-
uses: github/codeql-action/init@v2
32+
uses: github/codeql-action/init@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
3033
with:
3134
languages: ${{ matrix.language }}
3235

3336
- name: Autobuild
34-
uses: github/codeql-action/autobuild@v2
37+
uses: github/codeql-action/autobuild@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2
3538

3639
- name: Perform CodeQL Analysis
37-
uses: github/codeql-action/analyze@v2
40+
uses: github/codeql-action/analyze@181d5eefc20863364f96762470ba6f862bdef56b # v3.29.2

.github/workflows/fuzzing.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,20 @@ jobs:
77
steps:
88
- name: Build Fuzzers
99
id: build
10-
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@master
10+
uses: google/oss-fuzz/infra/cifuzz/actions/build_fuzzers@cafd7a0eb8ecb4e007c56897996a9b65c49c972f # master
1111
with:
1212
oss-fuzz-project-name: "modbus_exporter"
1313
dry-run: false
1414
- name: Run Fuzzers
15-
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
15+
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@cafd7a0eb8ecb4e007c56897996a9b65c49c972f # master
16+
# Note: Regularly check for updates to the pinned commit hash at:
17+
# https://github.com/google/oss-fuzz/tree/master/infra/cifuzz/actions/run_fuzzers
1618
with:
1719
oss-fuzz-project-name: "modbus_exporter"
1820
fuzz-seconds: 600
1921
dry-run: false
2022
- name: Upload Crash
21-
uses: actions/upload-artifact@v3
23+
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
2224
if: failure() && steps.build.outcome == 'success'
2325
with:
2426
name: artifacts

0 commit comments

Comments
 (0)