| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b6a05d4 commit 9674ae4
4 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -0,0 +1,17 @@ | |||
| 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 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1,4 +1,4 @@ | |||
| 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 | |
| Back | FazBrowse Home | New Git URL |
0 commit comments