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 #49

Merged
merged 1 commit into from
Sep 4, 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
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
raw.githubusercontent.com:443

- name: Checkout repo
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd
with:
fetch-depth: 0
- name: Setup Go
Expand All @@ -34,7 +34,7 @@ jobs:

# Linting
- name: Linting
uses: golangci/golangci-lint-action@cb36b7b064e48e277c8873c559e758f67ec455b1
uses: golangci/golangci-lint-action@68de804037d6beb4bec814041c98865cb188f3db
with:
version: latest
args: --config=./.github/.golangci.yml ./...
Expand All @@ -59,7 +59,7 @@ jobs:
sum.golang.org:443

- name: Checkout repo
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd
with:
fetch-depth: 0
- name: Setup Go
Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
storage.googleapis.com:443

- name: Checkout repo
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd
with:
fetch-depth: 0
- name: Setup Go
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ jobs:
api.github.com:443 github.com:443 objects.githubusercontent.com:443 proxy.golang.org:443 storage.googleapis.com:443 sum.golang.org:443 uploads.github.com:443

- name: Checkout repository
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@821ab42c90a42d1d5cd3241930dff56a7c7dcfb2
uses: github/codeql-action/init@889597e41d183636b55d03e1a49c44753c626a2e
with:
languages: go

- name: Autobuild
uses: github/codeql-action/autobuild@821ab42c90a42d1d5cd3241930dff56a7c7dcfb2
uses: github/codeql-action/autobuild@889597e41d183636b55d03e1a49c44753c626a2e

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@821ab42c90a42d1d5cd3241930dff56a7c7dcfb2
uses: github/codeql-action/analyze@889597e41d183636b55d03e1a49c44753c626a2e
6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
www.bestpractices.dev:443

- name: "Checkout code"
uses: actions/checkout@9a9194f87191a7e9055e3e9b95b8cfb13023bb08
uses: actions/checkout@2d7d9f7ff5b310f983d059b68785b3c74d8b8edd
with:
persist-credentials: false

Expand All @@ -61,14 +61,14 @@ jobs:
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
# format to the repository Actions tab.
- name: "Upload artifact"
uses: actions/upload-artifact@50769540e7f4bd5e21e526ee35c689e35e0d6874
uses: actions/upload-artifact@b18b1d32f3f31abcdc29dee3f2484801fe7822f4
with:
name: SARIF file
path: results.sarif
retention-days: 5

# required for Code scanning alerts
- name: "Upload SARIF results to code scanning"
uses: github/codeql-action/upload-sarif@821ab42c90a42d1d5cd3241930dff56a7c7dcfb2
uses: github/codeql-action/upload-sarif@889597e41d183636b55d03e1a49c44753c626a2e
with:
sarif_file: results.sarif
Loading