Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
danthorpe committed May 11, 2024
1 parent 7807acf commit 70a891c
Showing 1 changed file with 20 additions and 1 deletion.
21 changes: 20 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,25 @@ concurrency:
cancel-in-progress: true

jobs:
analysis:
name: Static Analysis
if: github.event_name != 'workflow_dispatch'
uses: danthorpe/ci/.github/workflows/static-analysis.yml@main
permissions:
actions: read
contents: read
security-events: write
with:
matrix: >
{
"include": [
{
"os": "ubuntu-latest",
"swift": "latest",
"xcode": "latest"
}
]
}
swift-package-test:
name: Test Swift Package
Expand Down Expand Up @@ -42,5 +61,5 @@ jobs:
ci:
name: CI
if: github.event_name == 'push'
needs: [swift-package-test]
needs: [analysis, swift-package-test]
uses: danthorpe/ci/.github/workflows/ci.yml@main

0 comments on commit 70a891c

Please sign in to comment.