Skip to content

Commit ebc1c3f

Browse files
👷 configuring CI to be reusable
1 parent 142b431 commit ebc1c3f

1 file changed

Lines changed: 4 additions & 17 deletions

File tree

.github/workflows/swift.yml

Lines changed: 4 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,7 @@
1-
name: Swift
1+
name: Swift Package Manager
22

3-
on:
4-
pull_request:
5-
branches: [ "develop" ]
3+
on: [push, pull_request]
64

75
jobs:
8-
build:
9-
runs-on: macos-latest
10-
11-
steps:
12-
- uses: actions/checkout@v4
13-
- name: Setup Swift
14-
uses: fwal/setup-swift@v2
15-
with:
16-
swift-version: '6.0.0'
17-
- name: Build
18-
run: swift build -v
19-
- name: Run tests
20-
run: swift test -v
6+
use-reusable:
7+
uses: EasyPackages/.github/.github/workflows/ci.yml@main

0 commit comments

Comments
 (0)