Skip to content

Commit

Permalink
Add PR check for file baseline information
Browse files Browse the repository at this point in the history
  • Loading branch information
Henry Mercer committed Nov 7, 2022
1 parent 89e1893 commit b9b7d9f
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 0 deletions.
67 changes: 67 additions & 0 deletions .github/workflows/__export-file-baseline-information.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions pr-checks/checks/export-file-baseline-information.yml
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

0 comments on commit b9b7d9f

Please sign in to comment.