Skip to content

Commit 17f9a99

Browse files
Update github-actions (#85)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
1 parent 782defc commit 17f9a99

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

.github/workflows/ci.yml

+9-9
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Lint
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: step-security/harden-runner@6ec6af7d622602bd852df48848f3cae95c760a48
15+
- uses: step-security/harden-runner@8a09271fed8277ab7fb02dbb5917c8d0e78323b4
1616
with:
1717
disable-sudo: true
1818
egress-policy: block
@@ -28,13 +28,13 @@ jobs:
2828
with:
2929
fetch-depth: 0
3030
- name: Setup Go
31-
uses: actions/setup-go@5a083d0e9a84784eb32078397cf5459adecb4c40
31+
uses: actions/setup-go@c4c114188661c0fa735e5b938764519fc6e8efa9
3232
with:
3333
go-version-file: ./go.mod
3434

3535
# Linting
3636
- name: Linting
37-
uses: golangci/golangci-lint-action@d8648ac2edec95c7927c492e5cfb10276c5ea71d
37+
uses: golangci/golangci-lint-action@4696ba8babb6127d732c3c6dde519db15edab9ea
3838
with:
3939
version: latest
4040
args: --config=./.github/.golangci.yml ./...
@@ -48,7 +48,7 @@ jobs:
4848
matrix:
4949
go: [ '1.22', '1.21' ]
5050
steps:
51-
- uses: step-security/harden-runner@6ec6af7d622602bd852df48848f3cae95c760a48
51+
- uses: step-security/harden-runner@8a09271fed8277ab7fb02dbb5917c8d0e78323b4
5252
with:
5353
disable-sudo: true
5454
egress-policy: block
@@ -63,7 +63,7 @@ jobs:
6363
with:
6464
fetch-depth: 0
6565
- name: Setup Go
66-
uses: actions/setup-go@5a083d0e9a84784eb32078397cf5459adecb4c40
66+
uses: actions/setup-go@c4c114188661c0fa735e5b938764519fc6e8efa9
6767
with:
6868
go-version: ${{ matrix.go }}
6969

@@ -75,7 +75,7 @@ jobs:
7575
name: Analyze
7676
runs-on: ubuntu-latest
7777
steps:
78-
- uses: step-security/harden-runner@6ec6af7d622602bd852df48848f3cae95c760a48
78+
- uses: step-security/harden-runner@8a09271fed8277ab7fb02dbb5917c8d0e78323b4
7979
with:
8080
disable-sudo: true
8181
egress-policy: block
@@ -96,7 +96,7 @@ jobs:
9696
with:
9797
fetch-depth: 0
9898
- name: Setup Go
99-
uses: actions/setup-go@5a083d0e9a84784eb32078397cf5459adecb4c40
99+
uses: actions/setup-go@c4c114188661c0fa735e5b938764519fc6e8efa9
100100
with:
101101
go-version-file: ./go.mod
102102

@@ -106,15 +106,15 @@ jobs:
106106

107107
# Codecov
108108
- name: Codecov
109-
uses: codecov/codecov-action@0565863a31f2c772f9f0395002a31e3f06189574
109+
uses: codecov/codecov-action@3440e5ef70c638a9f44602a80ab017feee1309fe
110110
env:
111111
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
112112
with:
113113
file: .github/coverage.out
114114

115115
# Sonar
116116
- name: SonarCloud Scan
117-
uses: SonarSource/sonarcloud-github-action@ffc3010689be73b8e5ae0c57ce35968afd7909e8
117+
uses: SonarSource/sonarcloud-github-action@b42848bfdabac7fefc656c08af7a7864240124a3
118118
env:
119119
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
120120
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

.github/workflows/codeql.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
fail-fast: false
2424

2525
steps:
26-
- uses: step-security/harden-runner@6ec6af7d622602bd852df48848f3cae95c760a48
26+
- uses: step-security/harden-runner@8a09271fed8277ab7fb02dbb5917c8d0e78323b4
2727
with:
2828
disable-sudo: true
2929
egress-policy: block
@@ -35,12 +35,12 @@ jobs:
3535

3636
# Initializes the CodeQL tools for scanning.
3737
- name: Initialize CodeQL
38-
uses: github/codeql-action/init@b2e6519679e446e7bb7c3466d70f13a6b5461fcd
38+
uses: github/codeql-action/init@70df9def86d22bf0ea4e7f8b956e7b92e7c1ea22
3939
with:
4040
languages: go
4141

4242
- name: Autobuild
43-
uses: github/codeql-action/autobuild@b2e6519679e446e7bb7c3466d70f13a6b5461fcd
43+
uses: github/codeql-action/autobuild@70df9def86d22bf0ea4e7f8b956e7b92e7c1ea22
4444

4545
- name: Perform CodeQL Analysis
46-
uses: github/codeql-action/analyze@b2e6519679e446e7bb7c3466d70f13a6b5461fcd
46+
uses: github/codeql-action/analyze@70df9def86d22bf0ea4e7f8b956e7b92e7c1ea22

.github/workflows/scorecards.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
id-token: write
2323

2424
steps:
25-
- uses: step-security/harden-runner@6ec6af7d622602bd852df48848f3cae95c760a48
25+
- uses: step-security/harden-runner@8a09271fed8277ab7fb02dbb5917c8d0e78323b4
2626
with:
2727
disable-sudo: true
2828
egress-policy: block
@@ -43,7 +43,7 @@ jobs:
4343
persist-credentials: false
4444

4545
- name: "Run analysis"
46-
uses: ossf/scorecard-action@169c9b9248e36d400bebded8160c7fe2cbbc7762
46+
uses: ossf/scorecard-action@3d5dd5daeb8a67e5461eee8aa7c5e2ab5132dc36
4747
with:
4848
results_file: results.sarif
4949
results_format: sarif
@@ -69,6 +69,6 @@ jobs:
6969

7070
# required for Code scanning alerts
7171
- name: "Upload SARIF results to code scanning"
72-
uses: github/codeql-action/upload-sarif@b2e6519679e446e7bb7c3466d70f13a6b5461fcd
72+
uses: github/codeql-action/upload-sarif@70df9def86d22bf0ea4e7f8b956e7b92e7c1ea22
7373
with:
7474
sarif_file: results.sarif

0 commit comments

Comments
 (0)