mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 01:30:10 +08:00
Build tracing currently does not support Windows 2022, so use `windows-2019` instead of`windows-latest`.
21 lines
758 B
YAML
21 lines
758 B
YAML
name: "Analyze: 'ref' and 'sha' from inputs"
|
|
description: "Checks that specifying 'ref' and 'sha' as inputs works"
|
|
# Build tracing currently does not support Windows 2022, so use `windows-2019` instead of
|
|
# `windows-latest`.
|
|
os: [ubuntu-latest, macos-latest, windows-2019]
|
|
steps:
|
|
- uses: ./../action/init
|
|
with:
|
|
tools: ${{ steps.prepare-test.outputs.tools-url }}
|
|
languages: cpp,csharp,java,javascript,python
|
|
config-file: ${{ github.repository }}/tests/multi-language-repo/.github/codeql/custom-queries.yml@${{ github.sha }}
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|
|
with:
|
|
ref: 'refs/heads/main'
|
|
sha: '5e235361806c361d4d3f8859e3c897658025a9a2'
|
|
env:
|
|
TEST_MODE: true
|