File tree Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Expand file tree Collapse file tree 2 files changed +26
-1
lines changed Original file line number Diff line number Diff line change 5151 run : |
5252 swift test
5353
54+ endtoend-tests :
55+ name : End to end tests
56+ runs-on : ubuntu-latest
57+ services :
58+ registry :
59+ image : registry:2
60+ ports :
61+ - 5000:5000
62+ container :
63+ image : swift:6.0-noble
64+ steps :
65+ - name : Checkout repository
66+ uses : actions/checkout@v4
67+ with :
68+ persist-credentials : false
69+
70+ - name : Mark the workspace as safe
71+ # https://github.com/actions/checkout/issues/766
72+ run : git config --global --add safe.directory ${GITHUB_WORKSPACE}
73+
74+ - name : Run test job
75+ run : |
76+ cd Examples/HelloWorldVapor
77+ swift package build-container-image --repository registry:5000/vapor --from swift:slim
78+
5479 swift-6-language-mode :
5580 name : Swift 6 Language Mode
5681 uses : apple/swift-nio/.github/workflows/swift_6_language_mode.yml@main
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ let package = Package(
2121 platforms: [ . macOS( . v13) ] ,
2222 dependencies: [
2323 . package ( url: " https://github.com/vapor/vapor " , . upToNextMajor( from: " 4.102.0 " ) ) ,
24- . package ( url : " https://github.com/apple/swift-container-plugin " , from : " 0.2.0 " ) ,
24+ . package ( path : " ../.. " ) ,
2525 ] ,
2626 targets: [ . executableTarget( name: " hello-world " , dependencies: [ . product( name: " Vapor " , package : " vapor " ) ] ) ]
2727)
You can’t perform that action at this time.
0 commit comments