-
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- move checkout to latest (v4.1.1) - move upload artifacts to latest (v3.1.3) - move codeql-action to v2 (best version I can find) - update the scorecard analysis and move vesions to latest
- Loading branch information
1 parent
524ea3b
commit 2017210
Showing
7 changed files
with
19 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,7 +107,7 @@ jobs: | |
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it | ||
- name: checkout | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
|
||
- name: "Create directory '${{ env.VCPKG_DEFAULT_BINARY_CACHE }}'" | ||
run: mkdir -p $VCPKG_DEFAULT_BINARY_CACHE | ||
|
@@ -155,7 +155,7 @@ jobs: | |
run: .\script\test.ps1 -Generator ${{ matrix.cmake-generator }} -EnablePIE ${{ matrix.enable-pie }} -BuildType ${{ matrix.build-type }} | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2 | ||
uses: actions/[email protected].3 | ||
if: failure() | ||
with: | ||
name: test_results_xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -329,7 +329,7 @@ jobs: | |
|
||
steps: | ||
- name: Check out repository | ||
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 #v3.5.3 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
fetch-depth: 2 | ||
submodules: false | ||
|
@@ -365,7 +365,7 @@ jobs: | |
# run: ctest -V | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2 | ||
uses: actions/[email protected].3 | ||
if: failure() | ||
with: | ||
name: test_results_xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -66,7 +66,7 @@ jobs: | |
run: brew install openal-soft | ||
|
||
- name: Check out repository | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
fetch-depth: 2 | ||
submodules: false | ||
|
@@ -92,7 +92,7 @@ jobs: | |
run: ctest -V | ||
|
||
- name: Upload test results | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2 | ||
uses: actions/[email protected].3 | ||
if: failure() | ||
with: | ||
name: test_results_xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,15 +19,16 @@ jobs: | |
security-events: write | ||
actions: read | ||
contents: read | ||
id-token: write | ||
|
||
steps: | ||
- name: "Check out code" | ||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab #v3.5.2 | ||
uses: actions/checkout@v4.1.1 | ||
with: | ||
persist-credentials: false | ||
|
||
- name: "Run analysis" | ||
uses: ossf/scorecard-action@e3e75cf2ffbf9364bbff86cdbdf52b23176fe492 # v1.0.1 | ||
uses: ossf/scorecard-action@v2.3.1 | ||
with: | ||
results_file: results.sarif | ||
results_format: sarif | ||
|
@@ -42,14 +43,15 @@ jobs: | |
|
||
# Upload the results as artifacts (optional). | ||
- name: "Upload artifact" | ||
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce #v3.1.2 | ||
uses: actions/[email protected].3 | ||
with: | ||
name: SARIF file | ||
path: results.sarif | ||
retention-days: 5 | ||
|
||
# Upload the results to GitHub's code scanning dashboard. | ||
- name: "Upload to code-scanning" | ||
uses: github/codeql-action/upload-sarif@5f532563584d71fdef14ee64d17bafb34f751ce5 # v1.0.26 | ||
uses: github/codeql-action/upload-sarif@v2 | ||
with: | ||
sarif_file: results.sarif | ||
tools: codeql-bundle.tar.gz |