File tree 1 file changed +2
-17
lines changed
1 file changed +2
-17
lines changed Original file line number Diff line number Diff line change 1
- # This workflow uses actions that are not certified by GitHub.
2
- # They are provided by a third-party and are governed by
3
- # separate terms of service, privacy policy, and support
4
- # documentation.
5
-
6
- # GitHub recommends pinning actions to a commit SHA.
7
- # To get a newer version, you will need to update the SHA.
8
- # You can also reference a tag or branch, but the action may change without warning.
9
-
10
1
name : Swift
11
2
12
- on : [push ]
3
+ on : [pull_request ]
13
4
14
5
jobs :
15
6
build-test :
@@ -21,24 +12,18 @@ jobs:
21
12
swift : [ "5.5", "5.10" ]
22
13
steps :
23
14
- uses : actions/checkout@v4
24
- with :
25
- token : ${{ secrets.PERSONAL_GITHUB_TOKEN }}
26
15
- uses : swift-actions/setup-swift@v2
27
16
with :
28
17
swift-version : ${{ matrix.swift }}
29
18
- name : Get swift version
30
19
run : swift --version
31
20
- name : Build
32
- working-directory : ./openfeature/providers/swift-provider
33
21
run : swift build
34
22
- name : Run tests
35
- working-directory : ./openfeature/providers/swift-provider
36
23
run : swift test
37
24
lint :
38
25
name : Swift Lint
39
26
runs-on : ubuntu-latest
40
27
steps :
41
28
- uses : actions/checkout@v4
42
- -
uses :
norio-nomura/[email protected]
43
- env :
44
- WORKING_DIRECTORY : ./openfeature/providers/swift-provider
29
+ -
uses :
norio-nomura/[email protected]
You can’t perform that action at this time.
0 commit comments