Skip to content

Commit 57b8eef

Browse files
ci: remove working dir
Signed-off-by: Thomas Poignant <[email protected]>
1 parent 8a0c4e4 commit 57b8eef

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

.github/workflows/swift.yaml

+2-17
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
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-
101
name: Swift
112

12-
on: [push]
3+
on: [pull_request]
134

145
jobs:
156
build-test:
@@ -21,24 +12,18 @@ jobs:
2112
swift: [ "5.5", "5.10" ]
2213
steps:
2314
- uses: actions/checkout@v4
24-
with:
25-
token: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
2615
- uses: swift-actions/setup-swift@v2
2716
with:
2817
swift-version: ${{ matrix.swift }}
2918
- name: Get swift version
3019
run: swift --version
3120
- name: Build
32-
working-directory: ./openfeature/providers/swift-provider
3321
run: swift build
3422
- name: Run tests
35-
working-directory: ./openfeature/providers/swift-provider
3623
run: swift test
3724
lint:
3825
name: Swift Lint
3926
runs-on: ubuntu-latest
4027
steps:
4128
- 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]

0 commit comments

Comments
 (0)