mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Move create-extractor-pack Action
This commit is contained in:
1
.github/actions/fetch-codeql/action.yml
vendored
1
.github/actions/fetch-codeql/action.yml
vendored
@@ -9,5 +9,6 @@ runs:
|
||||
LATEST=$(gh release list --repo https://github.com/github/codeql-cli-binaries | cut -f 1 | grep -v beta | sort --version-sort | tail -1)
|
||||
gh release download --repo https://github.com/github/codeql-cli-binaries --pattern codeql-linux64.zip "$LATEST"
|
||||
unzip -q codeql-linux64.zip
|
||||
echo "${{ github.workspace }}/codeql" >> $GITHUB_PATH
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ github.token }}
|
||||
|
||||
2
.github/workflows/dataset_measure.yml
vendored
2
.github/workflows/dataset_measure.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
||||
|
||||
- uses: ./.github/actions/fetch-codeql
|
||||
|
||||
- uses: ./.github/actions/create-extractor-pack
|
||||
- uses: ./ruby/actions/create-extractor-pack
|
||||
|
||||
- name: Checkout ${{ matrix.repo }}
|
||||
uses: actions/checkout@v2
|
||||
|
||||
2
.github/workflows/qltest.yml
vendored
2
.github/workflows/qltest.yml
vendored
@@ -19,7 +19,7 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: ./.github/actions/fetch-codeql
|
||||
- uses: ./.github/actions/create-extractor-pack
|
||||
- uses: ./ruby/actions/create-extractor-pack
|
||||
- name: Run QL tests
|
||||
run: |
|
||||
codeql/codeql pack install ql/test
|
||||
|
||||
@@ -8,8 +8,9 @@ runs:
|
||||
path: |
|
||||
~/.cargo/registry
|
||||
~/.cargo/git
|
||||
target
|
||||
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('**/Cargo.lock') }}
|
||||
ruby/target
|
||||
key: ${{ runner.os }}-qltest-cargo-${{ hashFiles('ruby/**/Cargo.lock') }}
|
||||
- name: Build Extractor
|
||||
shell: bash
|
||||
run: env "PATH=$PATH:${{ github.workspace }}/codeql" scripts/create-extractor-pack.sh
|
||||
run: scripts/create-extractor-pack.sh
|
||||
working-directory: ruby
|
||||
Reference in New Issue
Block a user