Skip to content

Commit fce961f

Browse files
authored
ci: Fix linux build (#83)
* ci: Fix linux build * Remove unnecessary package dependencies Removed multiple package dependencies from Package.swift.
1 parent d43b06d commit fce961f

File tree

2 files changed

+6
-71
lines changed

2 files changed

+6
-71
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
spm-test:
1919
runs-on: macos-15
2020
steps:
21-
- uses: actions/checkout@v5
21+
- uses: actions/checkout@v6
2222
- name: Install SwiftLint
2323
run: brew install swiftlint
2424
- name: Lint
@@ -49,10 +49,10 @@ jobs:
4949
linux:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v5
53-
- uses: sersoft-gmbh/SwiftyActions@v3
52+
- uses: actions/checkout@v6
53+
- uses: vapor/[email protected]
5454
with:
55-
release-version: "5"
55+
toolchain: 5.10.1
5656
github-token: ${{ secrets.GITHUB_TOKEN }}
5757
- name: Build and Test
5858
run: set -o pipefail && env NSUnbufferedIO=YES swift test --enable-test-discovery --enable-code-coverage
@@ -72,7 +72,7 @@ jobs:
7272
timeout-minutes: 20
7373
runs-on: macos-15
7474
steps:
75-
- uses: actions/checkout@v5
75+
- uses: actions/checkout@v6
7676
- name: Generate Docs
7777
run: set -o pipefail && env NSUnbufferedIO=YES Scripts/generate-documentation
7878
env:

Package.swift

Lines changed: 1 addition & 66 deletions
Original file line numberDiff line numberDiff line change
@@ -27,72 +27,7 @@ let package = Package(
2727
.package(
2828
url: "https://github.com/netreconlab/Parse-Swift.git",
2929
.upToNextMajor(from: "5.12.3")
30-
),
31-
.package(
32-
url: "https://github.com/apple/swift-collections.git",
33-
exact: Version(1, 1, 6)
34-
35-
),
36-
.package(
37-
url: "https://github.com/apple/swift-nio.git",
38-
exact: Version(2, 86, 2)
39-
40-
),
41-
.package(
42-
url: "https://github.com/apple/swift-nio-http2.git",
43-
exact: Version(1, 38, 0)
44-
45-
),
46-
.package(
47-
url: "https://github.com/apple/swift-log.git",
48-
exact: Version(1, 6, 4)
49-
50-
),
51-
.package(
52-
url: "https://github.com/apple/swift-nio-ssl.git",
53-
exact: Version(2, 34, 1)
54-
55-
),
56-
.package(
57-
url: "https://github.com/apple/swift-crypto.git",
58-
exact: Version(3, 15, 1)
59-
60-
),
61-
.package(
62-
url: "https://github.com/swift-server/async-http-client.git",
63-
exact: Version(1, 29, 1)
64-
65-
),
66-
.package(
67-
url: "https://github.com/apple/swift-nio-extras.git",
68-
exact: Version(1, 29, 0)
69-
70-
),
71-
.package(
72-
url: "https://github.com/apple/swift-asn1.git",
73-
exact: Version(1, 4, 0)
74-
75-
),
76-
.package(
77-
url: "https://github.com/apple/swift-async-algorithms.git",
78-
exact: Version(1, 0, 4)
79-
80-
),
81-
.package(
82-
url: "https://github.com/apple/swift-certificates.git",
83-
exact: Version(1, 15, 1)
84-
85-
),
86-
.package(
87-
url: "https://github.com/apple/swift-http-structured-headers.git",
88-
exact: Version(1, 4, 0)
89-
90-
),
91-
.package(
92-
url: "https://github.com/apple/swift-nio-transport-services.git",
93-
exact: Version(1, 25, 2)
94-
95-
)
30+
)
9631
],
9732
targets: [
9833
.target(

0 commit comments

Comments
 (0)