-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add PR check for file baseline information
- Loading branch information
Henry Mercer
committed
Nov 7, 2022
1 parent
89e1893
commit b9b7d9f
Showing
2 changed files
with
92 additions
and
0 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: "Export file baseline information" | ||
description: "Tests that exporting file baseline information works" | ||
versions: ["nightly-latest"] | ||
steps: | ||
- uses: ./../action/init | ||
with: | ||
tools: ${{ steps.prepare-test.outputs.tools-url }} | ||
env: | ||
CODEQL_FILE_BASELINE_INFORMATION: true | ||
TEST_MODE: true | ||
- name: Build code | ||
shell: bash | ||
run: ./build.sh | ||
- uses: ./../action/analyze | ||
with: | ||
output: "${{ runner.temp }}/results" | ||
env: | ||
CODEQL_FILE_BASELINE_INFORMATION: true | ||
TEST_MODE: true | ||
- name: Upload SARIF | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: with-baseline-information-${{ matrix.os }}-${{ matrix.version }}.sarif.json | ||
path: "${{ runner.temp }}/results/javascript.sarif" | ||
retention-days: 7 |