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 e8c6307 commit 0c13569Copy full SHA for 0c13569
.github/workflows/swift.yml
@@ -7,12 +7,21 @@ jobs:
7
strategy:
8
matrix:
9
os: [macOS-latest, ubuntu-latest]
10
+ swift: ["5.1"]
11
runs-on: ${{ matrix.os }}
12
+ env:
13
+ SWIFT_VERSION: ${{ matrix.swift }}
14
+ SWIFT_EXEC: .swiftenv/shims/swift
15
steps:
16
- uses: actions/checkout@v2
17
+ - name: Install Swift
18
+ run: |
19
+ git clone https://github.com/kylef/swiftenv.git ~/.swiftenv
20
+ ~/.swiftenv/bin/swiftenv install $SWIFT_VERSION
21
- name: Build
22
run: |
- swift build -v
23
+ ~/$SWIFT_EXEC --version
24
+ ~/$SWIFT_EXEC build -v
25
- name: Test
26
- swift test -v
27
+ ~/$SWIFT_EXEC test -v
0 commit comments