File tree 7 files changed +18
-18
lines changed
7 files changed +18
-18
lines changed Original file line number Diff line number Diff line change 46
46
with :
47
47
persist-credentials : false
48
48
- name : Set up Go
49
- uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1 .0
49
+ uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0 .0
50
50
with :
51
51
go-version-file : .go-version
52
52
check-latest : true
65
65
with :
66
66
persist-credentials : false
67
67
- name : Set up Go
68
- uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1 .0
68
+ uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0 .0
69
69
with :
70
70
go-version-file : .go-version
71
71
check-latest : true
Original file line number Diff line number Diff line change @@ -43,12 +43,12 @@ jobs:
43
43
uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
44
44
# Update go to the latest version to support minor go versions is go.mod file
45
45
- name : Install Go
46
- uses : actions/setup-go@v4
46
+ uses : actions/setup-go@v5
47
47
with :
48
48
go-version-file : go.mod
49
49
# Initializes the CodeQL tools for scanning.
50
50
- name : Initialize CodeQL
51
- uses : github/codeql-action/init@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
51
+ uses : github/codeql-action/init@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
52
52
with :
53
53
languages : ${{ matrix.language }}
54
54
# If you wish to specify custom queries, you can do so here or in a config file.
59
59
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
60
60
# If this step fails, then you should remove it and run the build manually (see below)
61
61
- name : Autobuild
62
- uses : github/codeql-action/autobuild@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
62
+ uses : github/codeql-action/autobuild@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
63
63
64
64
# ℹ️ Command-line programs to run using the OS shell.
65
65
# 📚 https://git.io/JvXDl
73
73
# make release
74
74
75
75
- name : Perform CodeQL Analysis
76
- uses : github/codeql-action/analyze@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
76
+ uses : github/codeql-action/analyze@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
Original file line number Diff line number Diff line change 28
28
fetch-depth : 0
29
29
ref : ${{ inputs.commit }}
30
30
- name : Set up Go
31
- uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1 .0
31
+ uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0 .0
32
32
with :
33
33
go-version-file : .go-version
34
34
check-latest : true
Original file line number Diff line number Diff line change @@ -83,28 +83,28 @@ jobs:
83
83
# format to the repository Actions tab.
84
84
- name : " Upload artifact"
85
85
if : " !cancelled()"
86
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
86
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
87
87
with :
88
88
name : SARIF file
89
89
path : ${{ inputs.results-file-name }}
90
90
retention-days : 5
91
91
- name : " Upload old scan json results"
92
92
if : " !cancelled()"
93
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
93
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
94
94
with :
95
95
name : old-json-results
96
96
path : old-results.json
97
97
retention-days : 5
98
98
- name : " Upload new scan json results"
99
99
if : " !cancelled()"
100
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
100
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
101
101
with :
102
102
name : new-json-results
103
103
path : new-results.json
104
104
retention-days : 5
105
105
# Upload the results to GitHub's code scanning dashboard.
106
106
- name : " Upload to code-scanning"
107
107
if : ${{ !cancelled() && inputs.upload-sarif == true }}
108
- uses : github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
108
+ uses : github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
109
109
with :
110
110
sarif_file : ${{ inputs.results-file-name }}
Original file line number Diff line number Diff line change 55
55
with :
56
56
persist-credentials : false
57
57
- name : " Download custom artifact if specified"
58
- uses : actions/download-artifact@v3
58
+ uses : actions/download-artifact@v4
59
59
if : " ${{ inputs.download-artifact != '' }}"
60
60
with :
61
61
name : " ${{ inputs.download-artifact }}"
@@ -80,14 +80,14 @@ jobs:
80
80
# format to the repository Actions tab.
81
81
- name : " Upload artifact"
82
82
if : " !cancelled()"
83
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
83
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
84
84
with :
85
85
name : SARIF file
86
86
path : ${{ inputs.results-file-name }}
87
87
retention-days : 5
88
88
# Upload the results to GitHub's code scanning dashboard.
89
89
- name : " Upload to code-scanning"
90
90
if : " ${{ !cancelled() && inputs.upload-sarif == true }}"
91
- uses : github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
91
+ uses : github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
92
92
with :
93
93
sarif_file : ${{ inputs.results-file-name }}
Original file line number Diff line number Diff line change 47
47
persist-credentials : false
48
48
ref : ${{ inputs.commit }}
49
49
- name : Set up Go
50
- uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1 .0
50
+ uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0 .0
51
51
with :
52
52
go-version-file : .go-version
53
53
check-latest : true
67
67
persist-credentials : false
68
68
ref : ${{ inputs.commit }}
69
69
- name : Set up Go
70
- uses : actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1 .0
70
+ uses : actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0 .0
71
71
with :
72
72
go-version-file : .go-version
73
73
check-latest : true
Original file line number Diff line number Diff line change @@ -59,14 +59,14 @@ jobs:
59
59
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
60
60
# format to the repository Actions tab.
61
61
- name : " Upload artifact"
62
- uses : actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
62
+ uses : actions/upload-artifact@c7d193f32edcb7bfad88892161225aeda64e9392 # v4.0.0
63
63
with :
64
64
name : SARIF file
65
65
path : results.sarif
66
66
retention-days : 5
67
67
68
68
# Upload the results to GitHub's code scanning dashboard.
69
69
- name : " Upload to code-scanning"
70
- uses : github/codeql-action/upload-sarif@8b7fcbfac2aae0e6c24d9f9ebd5830b1290b18e4 # v2 .23.0
70
+ uses : github/codeql-action/upload-sarif@e5f05b81d5b6ff8cfa111c80c22c5fd02a384118 # v3 .23.0
71
71
with :
72
72
sarif_file : results.sarif
You can’t perform that action at this time.
0 commit comments