2022-01-26 14:07:44 -05:00
|
|
|
name: "Analyze: 'ref' and 'sha' from inputs"
|
2022-01-25 23:05:53 -05:00
|
|
|
description: "Checks that specifying 'ref' and 'sha' as inputs works"
|
2026-03-11 10:41:31 +00:00
|
|
|
versions:
|
|
|
|
|
- default
|
2025-08-21 16:27:50 +01:00
|
|
|
installGo: true
|
2025-11-13 19:08:57 +00:00
|
|
|
installDotNet: true
|
2022-01-25 23:05:53 -05:00
|
|
|
steps:
|
|
|
|
|
- uses: ./../action/init
|
|
|
|
|
with:
|
|
|
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
|
|
|
languages: cpp,csharp,java,javascript,python
|
2022-01-26 10:15:16 -05:00
|
|
|
config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }}
|
2022-01-25 23:05:53 -05:00
|
|
|
- name: Build code
|
|
|
|
|
run: ./build.sh
|
|
|
|
|
- uses: ./../action/analyze
|
|
|
|
|
with:
|
|
|
|
|
ref: 'refs/heads/main'
|
2022-01-26 11:51:35 -05:00
|
|
|
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
|