Skip to content

Commit

Permalink
Update GitHub actions
Browse files Browse the repository at this point in the history
actions/upload-artifact: v3 -> v4
github/codeql-action/upload-sarif: v2 -> v3
actions/setup-go: v4 -> v5
actions/download-artifact: v3 -> v4
  • Loading branch information
Danielius1922 committed Jan 8, 2024
1 parent 782af8e commit 99a835c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cifuzz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ jobs:
fuzz-seconds: 300
output-sarif: true
- name: Upload Crash
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
if: failure() && steps.build.outcome == 'success'
with:
name: artifacts
path: ./out/artifacts
- name: Upload Sarif
if: always() && steps.build.outcome == 'success'
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
# Path to SARIF file relative to the root of the repository
sarif_file: cifuzz-sarif/results.sarif
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go 1.18+
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.18" # The Go version to download (if necessary) and use.
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/staticAnalysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
uses: actions/checkout@v4

- name: Set up Go 1.18+
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.18" # The Go version to download (if necessary) and use.
check-latest: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-for-fork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- name: Set up Go 1.18+
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.18"
check-latest: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

steps:
- name: Set up Go 1.18+
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "^1.18"
check-latest: true
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
shell: bash

- name: Upload coverage and report files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ hashFiles('./outputs') || 'none' }}
path: ./outputs
Expand All @@ -77,7 +77,7 @@ jobs:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis

- name: Download artifacts
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
path: ./outputs

Expand Down Expand Up @@ -110,7 +110,7 @@ jobs:

steps:
- name: Set up Go 1.18
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
# Go 1.18 is required by coap-gateway-go1-18 in https://github.com/plgd-dev/hub/blob/main/.github/workflows/publishDockerImagesGhcr.yml
go-version: "~1.18"
Expand Down

0 comments on commit 99a835c

Please sign in to comment.