Skip to content

Commit

Permalink
CodeQL improvements.
Browse files Browse the repository at this point in the history
Partial mas-cli#645

Signed-off-by: Ross Goldberg <[email protected]>
  • Loading branch information
rgoldberg committed Dec 27, 2024
1 parent 45ddafe commit df9b3bb
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
#
# .github/workflows/codeql.yml
#
---
name: "CodeQL Advanced"

name: "CodeQL"
on:
push:
branches: ["main", "v*"]
pull_request:
branches: ["main", "v*"]
schedule:
- cron: "44 14 * * 4"

workflow_dispatch:
jobs:
analyze:
name: Analyze ${{matrix.language}}
Expand All @@ -19,7 +17,10 @@ jobs:
fail-fast: false
matrix:
include:
- language: swift
- language: actions-all
build-mode: none

- language: swift-all
build-mode: manual
steps:
- name: Checkout repository
Expand All @@ -32,7 +33,8 @@ jobs:
build-mode: ${{matrix.build-mode}}
queries: security-and-quality

- if: matrix.build-mode == 'manual'
- name: Build Swift
if: matrix.language == 'swift'
shell: bash
run: |
script/build
Expand Down

0 comments on commit df9b3bb

Please sign in to comment.