Skip to content

Commit

Permalink
Adding CodeQL for Swift (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
leogdion authored Apr 27, 2023
1 parent 04117e3 commit fa89906
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/syndikit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches-ignore:
- '*WIP'

env:
CODEQL_ENABLE_EXPERIMENTAL_FEATURES_SWIFT: true

jobs:
build-ubuntu:
name: Build on Ubuntu
Expand Down Expand Up @@ -151,8 +155,14 @@ jobs:
run: |
brew update
brew install mint
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
- name: Build
run: swift build
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
- name: Run Swift Package tests
run: swift test -v --enable-code-coverage
- uses: sersoft-gmbh/swift-coverage-action@v2
Expand Down

0 comments on commit fa89906

Please sign in to comment.