We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 42203e8 + 760ef0f commit 649f5deCopy full SHA for 649f5de
.github/workflows/ci.yaml
@@ -0,0 +1,28 @@
1
+name: CI
2
+
3
+on:
4
+ push:
5
+ branches: [main]
6
+ pull_request:
7
8
+ workflow_dispatch:
9
10
+jobs:
11
+ ci:
12
+ name: Build & Test
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - uses: actions/checkout@v4
16
17
+ - uses: actions/cache@v3
18
+ with:
19
+ path: .build
20
+ key: ${{ runner.os }}-spm-${{ hashFiles('**/Package.resolved') }}
21
+ restore-keys: |
22
+ ${{ runner.os }}-spm-
23
24
+ - name: Build
25
+ run: swift build --build-tests
26
27
+ - name: Run Tests
28
+ run: swift test
0 commit comments