mirror of
https://github.com/github/codeql-action.git
synced 2025-12-26 17:20:10 +08:00
This allows us to set it automatically in the workflow generator, simplifying things and reducing the scope for error.
19 lines
487 B
YAML
19 lines
487 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
|
|
- name: Build code
|
|
shell: bash
|
|
run: ./build.sh
|
|
- uses: ./../action/analyze
|