Skip to content

Commit

Permalink
ci(github): ♻️ split dep and build mage actions to help codeql detection
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuar committed May 27, 2024
1 parent fdfcbc6 commit 325c05c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ jobs:
uses: magefile/mage-action@v3
with:
install-only: true
- name: Install build deps
run: mage ${MAGEARGS} preps:deps ${ARCH}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
Expand All @@ -58,7 +60,7 @@ jobs:
packs: githubsecuritylab/codeql-${{ matrix.language }}-queries
- if: matrix.build-mode == 'manual'
name: Build with Mage
run: mage ${MAGEARGS} build:ci ${ARCH}
run: mage ${MAGEARGS} build:full ${ARCH}
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
Expand Down

0 comments on commit 325c05c

Please sign in to comment.