GeezerVison is showing github.com — Splits integration tests · github/codeql-action@f1ca338
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__analyze-ref-input.yml +63Lines changed: 63 additions & 0 deletions Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/__upload-ref-sha-input.yml +4-5Lines changed: 4 additions & 5 deletions Collapse file
Copy file name to clipboard +17Lines changed: 17 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: "Analyze: 'ref' and 'sha' from inputs" |
| 2 | +description: "Checks that specifying 'ref' and 'sha' as inputs works" |
| 3 | +steps: |
| 4 | + - uses: ./../action/init |
| 5 | + with: |
| 6 | + tools: ${{ steps.prepare-test.outputs.tools-url }} |
| 7 | + languages: cpp,csharp,java,javascript,python |
| 8 | + config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }} |
| 9 | + - name: Build code |
| 10 | + shell: bash |
| 11 | + run: ./build.sh |
| 12 | + - uses: ./../action/analyze |
| 13 | + with: |
| 14 | + ref: 'refs/heads/main' |
| 15 | + sha: '5e235361806c361d4d3f8859e3c897658025a9a2' |
| 16 | + env: |
| 17 | + TEST_MODE: true |
Collapse file
Copy file name to clipboardExpand all lines: pr-checks/checks/upload-ref-sha-input.yml +2-3Lines changed: 2 additions & 3 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
1 | | -name: "'ref' and 'sha' from inputs" |
| 1 | +name: "Upload-sarif: 'ref' and 'sha' from inputs" |
2 | 2 | description: "Checks that specifying 'ref' and 'sha' as inputs works" |
3 | 3 | steps: |
4 | 4 | - uses: ./../action/init |
@@ -13,13 +13,12 @@ steps: |
13 | 13 | with: |
14 | 14 | ref: 'refs/heads/main' |
15 | 15 | sha: '5e235361806c361d4d3f8859e3c897658025a9a2' |
16 | | - category: 'analyze' |
| 16 | + upload: false |
17 | 17 | env: |
18 | 18 | TEST_MODE: true |
19 | 19 | - uses: ./../action/upload-sarif |
20 | 20 | with: |
21 | 21 | ref: 'refs/heads/main' |
22 | 22 | sha: '5e235361806c361d4d3f8859e3c897658025a9a2' |
23 | | - category: 'upload' |
24 | 23 | env: |
25 | 24 | TEST_MODE: true |