Skip to content
This repository has been archived by the owner on Oct 3, 2024. It is now read-only.

Commit

Permalink
Update github-actions
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] authored Apr 28, 2024
1 parent 68316de commit ce1e2b1
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@27135e314dd1818f797af1db9dae03a9f045786b
uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@c51a7207680f1bee06f4a751214aab70667f9e25
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version-file: ./go.mod

# Linting
- name: Linting
uses: golangci/golangci-lint-action@92ba55cf0d79a9feb999e9bcef95c952bbbe545a
uses: golangci/golangci-lint-action@d149ece3f4b24e9c6b291dbcdfe0b4bb68ed31b2
with:
version: latest
args: --config=./.github/.golangci.yml ./...
Expand All @@ -38,11 +38,11 @@ jobs:
go: [ '1.21', '1.20' ]
steps:
- name: Checkout repo
uses: actions/checkout@27135e314dd1818f797af1db9dae03a9f045786b
uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@c51a7207680f1bee06f4a751214aab70667f9e25
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version: ${{ matrix.go }}

Expand All @@ -55,11 +55,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@27135e314dd1818f797af1db9dae03a9f045786b
uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@c51a7207680f1bee06f4a751214aab70667f9e25
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7
with:
go-version-file: ./go.mod

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@27135e314dd1818f797af1db9dae03a9f045786b # pin@master
uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f # pin@master

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@27135e314dd1818f797af1db9dae03a9f045786b # pin@master
uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f # pin@master
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@c1aec4ac820532bab364f02a81873c555a0ba3a1 # pin@master
uses: ossf/scorecard-action@fad9a3cc533bb069b1f01f272f1f630895cd690a # pin@master
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -42,7 +42,7 @@ jobs:

# Upload the results as artifacts (optional).
- name: "Upload artifact"
uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # pin@master
uses: actions/upload-artifact@552bf3722c16e81001aea7db72d8cedf64eb5f68 # pin@master
with:
name: SARIF file
path: results.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
name: Snyk
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@61b9e3751b92087fd0b06925ba6dd6314e06f089 # pin@master
- uses: actions/checkout@8459bc0c7e3759cdf591f513d9f141a95fef0a8f # pin@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/golang@3e2680e8df93a24b52d119b1305fb7cedc60ceae # pin@master
env:
Expand Down

0 comments on commit ce1e2b1

Please sign in to comment.