Add PR check for file baseline information
This commit is contained in:
parent
89e18934d3
commit
b9b7d9f2a6
2 changed files with 92 additions and 0 deletions
25
pr-checks/checks/export-file-baseline-information.yml
Normal file
25
pr-checks/checks/export-file-baseline-information.yml
Normal file
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue