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.
1 parent 68f60e3 commit d45c764Copy full SHA for d45c764
.github/workflows/swift.yml
@@ -0,0 +1,28 @@
1
+# This workflow will build a Swift project
2
+# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift
3
+
4
+name: Swift
5
6
+on:
7
+ push:
8
+ branches: [ "main" ]
9
+ pull_request:
10
11
12
+jobs:
13
+ build:
14
+ name: Swift ${{ matrix.swift }} on ${{ matrix.os }}
15
+ strategy:
16
+ matrix:
17
+ os: [ubuntu-latest, macos-latest]
18
+ swift: ["6.1.0"]
19
+ runs-on: ${{ matrix.os }}
20
+ steps:
21
+ - uses: swift-actions/setup-swift@v2
22
+ with:
23
+ swift-version: ${{ matrix.swift }}
24
+ - uses: actions/checkout@v4
25
+ - name: Build
26
+ run: swift build -v
27
+ - name: Run tests
28
+ run: swift test -v
0 commit comments