File tree Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Expand file tree Collapse file tree 5 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 16
16
steps :
17
17
- name : Dependabot metadata
18
18
id : metadata
19
- uses : dependabot/fetch-metadata@d7267f607e9d3fb96fc2fbe83e0af444713e90b7 # v2.3 .0
19
+ uses : dependabot/fetch-metadata@08eff52bf64351f401fb50d4972fa95b9f2c2d1b # v2.4 .0
20
20
with :
21
21
github-token : " ${{ secrets.GITHUB_TOKEN }}"
22
22
- name : Enable auto-merge for Dependabot PRs
Original file line number Diff line number Diff line change 50
50
51
51
# Initializes the CodeQL tools for scanning.
52
52
- name : Initialize CodeQL
53
- uses : github/codeql-action/init@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
53
+ uses : github/codeql-action/init@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
54
54
with :
55
55
languages : ${{ matrix.language }}
56
56
# If you wish to specify custom queries, you can do so here or in a config file.
61
61
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
62
62
# If this step fails, then you should remove it and run the build manually (see below)
63
63
- name : Autobuild
64
- uses : github/codeql-action/autobuild@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
64
+ uses : github/codeql-action/autobuild@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
65
65
66
66
# ℹ️ Command-line programs to run using the OS shell.
67
67
# 📚 https://git.io/JvXDl
75
75
# make release
76
76
77
77
- name : Perform CodeQL Analysis
78
- uses : github/codeql-action/analyze@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
78
+ uses : github/codeql-action/analyze@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
Original file line number Diff line number Diff line change 52
52
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
53
53
54
54
- name : Set up Go ${{ matrix.go_version }}
55
- uses : actions/setup-go@v5.4 .0
55
+ uses : actions/setup-go@v5.5 .0
56
56
with :
57
57
go-version : ${{ matrix.go_version }}
58
58
check-latest : true
Original file line number Diff line number Diff line change @@ -26,23 +26,23 @@ jobs:
26
26
- name : Checkout repository
27
27
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
28
28
- name : Install Go
29
- uses : actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4 .0
29
+ uses : actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5.5 .0
30
30
with :
31
31
go-version : 1.24.x
32
32
- name : Install snmp_exporter/generator dependencies
33
33
run : sudo apt-get update && sudo apt-get -y install libsnmp-dev
34
34
if : github.repository == 'prometheus/snmp_exporter'
35
35
- name : Check for Go file changes
36
36
id : go-changes
37
- uses : dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50 # v2.11.1
37
+ uses : dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
38
38
with :
39
39
filters : |
40
40
go:
41
41
- '**/*.go'
42
42
43
43
- name : Lint
44
44
if : steps.go-changes.outputs.go == 'true'
45
- uses : golangci/golangci-lint-action@1481404843c368bc19ca9406f87d6e0fc97bdcfd # v7 .0.0
45
+ uses : golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8 .0.0
46
46
with :
47
47
args : --verbose
48
48
version : v2.0.2
Original file line number Diff line number Diff line change 34
34
persist-credentials : false
35
35
36
36
- name : " Run analysis"
37
- uses : ossf/scorecard-action@f49aabe0b5af0936a0987cfb85d86b75731b0186 # v2.4.1
37
+ uses : ossf/scorecard-action@05b42c624433fc40578a4040d5cf5e36ddca8cde # v2.4.2
38
38
with :
39
39
results_file : results.sarif
40
40
results_format : sarif
51
51
52
52
# Upload the results to GitHub's code scanning dashboard.
53
53
- name : " Upload to code-scanning"
54
- uses : github/codeql-action/upload-sarif@1b549b9259bda1cb5ddde3b41741a82a2d15a841 # v3.28.13
54
+ uses : github/codeql-action/upload-sarif@ff0a06e83cb2de871e5a09832bc6a81e7276941f # v3.28.18
55
55
with :
56
56
sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments