Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update github-actions #51

Merged
merged 1 commit into from
Sep 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
Expand All @@ -28,13 +28,13 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@b26d40294f8ad76fcc90b915dac85892322fe62d
uses: actions/setup-go@df1a11710ed378b187f40c71eb3d6c08d82e7108
with:
go-version-file: ./go.mod

# Linting
- name: Linting
uses: golangci/golangci-lint-action@68de804037d6beb4bec814041c98865cb188f3db
uses: golangci/golangci-lint-action@33f56cc1efa04e8bdc166cd6ee9f060dad4e65af
with:
version: latest
args: --config=./.github/.golangci.yml ./...
Expand All @@ -48,7 +48,7 @@ jobs:
matrix:
go: [ '1.22', '1.21' ]
steps:
- uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
Expand All @@ -63,7 +63,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@b26d40294f8ad76fcc90b915dac85892322fe62d
uses: actions/setup-go@df1a11710ed378b187f40c71eb3d6c08d82e7108
with:
go-version: ${{ matrix.go }}

Expand All @@ -75,7 +75,7 @@ jobs:
name: Analyze
runs-on: ubuntu-latest
steps:
- uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
Expand All @@ -96,7 +96,7 @@ jobs:
with:
fetch-depth: 0
- name: Setup Go
uses: actions/setup-go@b26d40294f8ad76fcc90b915dac85892322fe62d
uses: actions/setup-go@df1a11710ed378b187f40c71eb3d6c08d82e7108
with:
go-version-file: ./go.mod

Expand All @@ -106,7 +106,7 @@ jobs:

# Codecov
- name: Codecov
uses: codecov/codecov-action@8bacbcdafc25d23d7ccbf06e9aaf78c95a290f21
uses: codecov/codecov-action@4beef3e59f78b5d086257b65d6e2ce7c33f8d646
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false

steps:
- uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
Expand All @@ -35,12 +35,12 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@d8b1697e9a833a1f8cd88c642a6bd8685d3ee856
uses: github/codeql-action/init@4a01ec798636a8442fbe054c7795e139a5960d29
with:
languages: go

- name: Autobuild
uses: github/codeql-action/autobuild@d8b1697e9a833a1f8cd88c642a6bd8685d3ee856
uses: github/codeql-action/autobuild@4a01ec798636a8442fbe054c7795e139a5960d29

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@d8b1697e9a833a1f8cd88c642a6bd8685d3ee856
uses: github/codeql-action/analyze@4a01ec798636a8442fbe054c7795e139a5960d29
4 changes: 2 additions & 2 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
id-token: write

steps:
- uses: step-security/harden-runner@951b48540b429070694bc8abd82fd6901eb123ca
- uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
Expand Down Expand Up @@ -69,6 +69,6 @@ jobs:

# required for Code scanning alerts
- name: "Upload SARIF results to code scanning"
uses: github/codeql-action/upload-sarif@d8b1697e9a833a1f8cd88c642a6bd8685d3ee856
uses: github/codeql-action/upload-sarif@4a01ec798636a8442fbe054c7795e139a5960d29
with:
sarif_file: results.sarif
Loading