Skip to content

Commit 128e749

Browse files
Update main.yml
Update actions versions
1 parent 7656c1c commit 128e749

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
# The type of runner that the job will run on
2222
runs-on: ubuntu-latest
2323
steps:
24-
- uses: actions/checkout@v4
24+
- uses: actions/checkout@v6
2525

2626
# zip the project and move it to a staging directory
2727
- name: Zip Project
@@ -30,7 +30,7 @@ jobs:
3030
build-name: project.zip
3131

3232
- name: Archive package
33-
uses: actions/upload-artifact@v4
33+
uses: actions/upload-artifact@v6
3434
with:
3535
name: CodePackage
3636
path: project.zip
@@ -44,7 +44,7 @@ jobs:
4444

4545
steps:
4646
- name: Retrieve artifact
47-
uses: actions/download-artifact@v4
47+
uses: actions/download-artifact@v6
4848
with:
4949
name: CodePackage
5050
path: /github/home
@@ -56,7 +56,7 @@ jobs:
5656
java -jar /opt/veracode/pipeline-scan.jar --veracode_api_id="${{secrets.VERACODE_API_ID}}" --veracode_api_key="${{secrets.VERACODE_API_KEY}}" --fail_on_severity="Very High, High" --file="project.zip" --app_id="${{secrets.VERACODE_APP_ID}}" --json_output_file="results.json"
5757
continue-on-error: true
5858

59-
- uses: actions/upload-artifact@v4
59+
- uses: actions/upload-artifact@v6
6060
with:
6161
name: ScanResults
6262
path: /github/home/results.json
@@ -76,7 +76,7 @@ jobs:
7676
steps:
7777

7878
- name: Retrieve results
79-
uses: actions/download-artifact@v4
79+
uses: actions/download-artifact@v6
8080
with:
8181
name: ScanResults
8282

@@ -89,7 +89,7 @@ jobs:
8989

9090
- name: Check for SARIF
9191
id: check_sarif
92-
uses: andstor/file-existence-action@v1
92+
uses: andstor/file-existence-action@v3
9393
with:
9494
files: "veracode-results.sarif"
9595

0 commit comments

Comments
 (0)