mirror of
https://github.com/github/codeql-action.git
synced 2025-12-27 09:40:17 +08:00
Build tracing using CLIs before 2.7.3 no longer works with the most recent update to the `ubuntu-22.04` runner image. With this new logic, we can remove the workarounds around testing `windows-2019` and `windows-2022`.
23 lines
549 B
YAML
23 lines
549 B
YAML
name: "Local CodeQL bundle"
|
|
description: "Tests using a CodeQL bundle from a local file rather than a URL"
|
|
versions: ["nightly-latest"]
|
|
operatingSystems: ["ubuntu"]
|
|
steps:
|
|
- name: Fetch a CodeQL bundle
|
|
shell: bash
|
|
env:
|
|
CODEQL_URL: ${{ steps.prepare-test.outputs.tools-url }}
|
|
run: |
|
|
wget "$CODEQL_URL"
|
|
- uses: ./../action/init
|
|
with:
|
|
tools: ./codeql-bundle.tar.gz
|
|
env:
|
|
TEST_MODE: true
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|
|
env:
|
|
TEST_MODE: true
|