Skip to content
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/api-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
permissions:
id-token: write
contents: read

jobs:
build-and-deploy:
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,16 @@ on:

jobs:
unit-tests:
permissions:
contents: read
uses: vapor/ci/.github/workflows/run-unit-tests.yml@main
with:
with_musl: true
with_android: true

submit-dependencies:
permissions:
contents: write
if: ${{ github.event_name == 'push' }}
uses: vapor/ci/.github/workflows/submit-deps.yml@main
secrets: inherit
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ let package = Package(
.library(name: "Leaf", targets: ["Leaf"]),
],
dependencies: [
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.12.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.114.1"),
.package(url: "https://github.com/vapor/leaf-kit.git", from: "1.14.2"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.121.3"),
.package(url: "https://github.com/apple/swift-algorithms.git", from: "1.2.1"),
],
targets: [
Expand Down
2 changes: 1 addition & 1 deletion Tests/LeafTests/LeafTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ final class LeafTests: XCTestCase {
XCTAssertEqual(res.status, .ok)

// Rendered result should match to all non-nil values
XCTAssertEqual(res.body.string, "[\"\(id1)\", \"\(id2)\"]")
XCTAssertEqual(res.body.string, "["\(id1)", "\(id2)"]")
}
}
}
Expand Down
Loading