Use v3
This commit is contained in:
@@ -14,10 +14,10 @@ jobs:
|
|||||||
image: gitea/runner-images:ubuntu-latest
|
image: gitea/runner-images:ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Source
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Prepare reports
|
- name: Prepare
|
||||||
run: mkdir -p reports
|
run: mkdir -p reports
|
||||||
|
|
||||||
- name: Run Gosec Security Scanner
|
- name: Run Gosec Security Scanner
|
||||||
@@ -25,7 +25,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
args: -fmt=json -out=reports/results.json -stdout -verbose=text ./...
|
args: -fmt=json -out=reports/results.json -stdout -verbose=text ./...
|
||||||
|
|
||||||
- uses: actions/upload-artifact@v4
|
- name: Upload Gosec reports
|
||||||
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: gsec-results.json
|
name: gsec-results.json
|
||||||
path: reports/results.json
|
path: reports/results.json
|
Reference in New Issue
Block a user