Skip to content

Commit

Permalink
feat(ci): Update QL Action to use reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
GeekMasher authored Jan 10, 2025
1 parent 2e28a23 commit 6f59f40
Showing 1 changed file with 2 additions and 25 deletions.
27 changes: 2 additions & 25 deletions .github/workflows/ql-for-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,28 +13,5 @@ permissions:

jobs:
ql:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@nightly

- name: "Build QL-for-QL"
env:
GH_TOKEN: ${{ github.token }}
CODEQL_REPOSITORY_PATH: ${{ runner.temp }}/codeql
run: |
./.github/scripts/ql-build.sh
- name: "Run QL-for-QL"
env:
GH_TOKEN: ${{ github.token }}
CODEQL_REPOSITORY_PATH: ${{ runner.temp }}/codeql
run: |
./.github/scripts/ql-scan.sh
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: ./ql-for-ql.sarif
uses: advanced-security/reusable-workflows/.github/workflows/codeql-ql.yml@main
secrets: inherit

0 comments on commit 6f59f40

Please sign in to comment.