Skip to content

Commit

Permalink
Deps
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewBarba committed Apr 5, 2024
1 parent e0a6717 commit 5812132
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 55 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/deploy-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Vercel Preview

on:
workflow_dispatch:
push:
branches-ignore:
- main
pull_request:

env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
Expand All @@ -14,24 +12,24 @@ env:
jobs:
deploy:
runs-on: ubuntu-latest
container: swift:5.8-amazonlinux2
container: swift:5.10-amazonlinux2

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16

- name: Install
run: npm install -g vercel@latest

- name: Deploy
run: swift package --disable-sandbox vercel --deploy
run: swift package --disable-sandbox vercel deploy
12 changes: 6 additions & 6 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,25 +12,25 @@ env:

jobs:
deploy:
runs-on: buildjet-4vcpu-ubuntu-2204
container: swift:5.8-amazonlinux2
runs-on: ubuntu-latest
container: swift:5.10-amazonlinux2

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: .build
key: ${{ runner.os }}-spm-${{ hashFiles('Package.resolved') }}
restore-keys: |
${{ runner.os }}-spm-
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16

- name: Install
run: npm install -g vercel@latest

- name: Deploy
run: swift package --disable-sandbox vercel --deploy --prod
run: swift package --disable-sandbox vercel deploy --prod
7 changes: 7 additions & 0 deletions .swift-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"indentation" : {
"spaces": 4
},
"tabWidth": 4,
"version": 1
}
80 changes: 40 additions & 40 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/async-http-client.git",
"state" : {
"revision" : "5ccda442f103792d67680aefc8d0a87392fbd66c",
"version" : "1.20.0"
"revision" : "291438696abdd48d2a83b52465c176efbd94512b",
"version" : "1.20.1"
}
},
{
Expand All @@ -23,8 +23,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/vapor/console-kit.git",
"state" : {
"revision" : "a7dd7001196d39b758e4990ec0f26f80162f4c84",
"version" : "4.14.0"
"revision" : "a31f44ebfbd15a2cc0fda705279676773ac16355",
"version" : "4.14.1"
}
},
{
Expand Down Expand Up @@ -66,55 +66,46 @@
{
"identity" : "swift-aws-lambda-runtime",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/swift-aws-lambda-runtime.git",
"location" : "https://github.com/swift-server/swift-aws-lambda-runtime",
"state" : {
"revision" : "de730b240df25897c4b5b68889c178c994fd6817",
"version" : "1.0.0-alpha.1"
}
},
{
"identity" : "swift-backtrace",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-server/swift-backtrace.git",
"state" : {
"revision" : "80746bdd0ac8a7d83aad5d89dac3cbf15de652e6",
"version" : "1.3.4"
"revision" : "8d9f44b7838750b103ad2ad49055e8333d719e8a",
"version" : "1.0.0-alpha.2"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections.git",
"state" : {
"revision" : "d029d9d39c87bed85b1c50adee7c41795261a192",
"version" : "1.0.6"
"revision" : "94cf62b3ba8d4bed62680a282d4c25f9c63c2efb",
"version" : "1.1.0"
}
},
{
"identity" : "swift-crypto",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-crypto",
"state" : {
"revision" : "60f13f60c4d093691934dc6cfdf5f508ada1f894",
"version" : "2.6.0"
"revision" : "f0525da24dc3c6cbb2b6b338b65042bc91cbc4bb",
"version" : "3.3.0"
}
},
{
"identity" : "swift-http-types",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-http-types",
"state" : {
"revision" : "1827dc94bdab2eb5f2fc804e9b0cb43574282566",
"version" : "1.0.2"
"revision" : "12358d55a3824bd5fed310b999ea8cf83a9a1a65",
"version" : "1.0.3"
}
},
{
"identity" : "swift-log",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-log.git",
"state" : {
"revision" : "532d8b529501fb73a2455b179e0bbb6d49b652ed",
"version" : "1.5.3"
"revision" : "e97a6fcb1ab07462881ac165fdbb37f067e205d5",
"version" : "1.5.4"
}
},
{
Expand All @@ -131,44 +122,44 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio.git",
"state" : {
"revision" : "702cd7c56d5d44eeba73fdf83918339b26dc855c",
"version" : "2.62.0"
"revision" : "fc63f0cf4e55a4597407a9fc95b16a2bc44b4982",
"version" : "2.64.0"
}
},
{
"identity" : "swift-nio-extras",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-extras.git",
"state" : {
"revision" : "798c962495593a23fdea0c0c63fd55571d8dff51",
"version" : "1.20.0"
"revision" : "a3b640d7dc567225db7c94386a6e71aded1bfa63",
"version" : "1.22.0"
}
},
{
"identity" : "swift-nio-http2",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-http2.git",
"state" : {
"revision" : "3bd9004b9d685ed6b629760fc84903e48efec806",
"version" : "1.29.0"
"revision" : "0904bf0feb5122b7e5c3f15db7df0eabe623dd87",
"version" : "1.30.0"
}
},
{
"identity" : "swift-nio-ssl",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-ssl.git",
"state" : {
"revision" : "320bd978cceb8e88c125dcbb774943a92f6286e9",
"version" : "2.25.0"
"revision" : "7c381eb6083542b124a6c18fae742f55001dc2b5",
"version" : "2.26.0"
}
},
{
"identity" : "swift-nio-transport-services",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-nio-transport-services.git",
"state" : {
"revision" : "ebf8b9c365a6ce043bf6e6326a04b15589bd285e",
"version" : "1.20.0"
"revision" : "6cbe0ed2b394f21ab0d46b9f0c50c6be964968ce",
"version" : "1.20.1"
}
},
{
Expand All @@ -180,31 +171,40 @@
"version" : "1.0.2"
}
},
{
"identity" : "swift-system",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-system.git",
"state" : {
"revision" : "025bcb1165deab2e20d4eaba79967ce73013f496",
"version" : "1.2.1"
}
},
{
"identity" : "vapor",
"kind" : "remoteSourceControl",
"location" : "https://github.com/vapor/vapor",
"state" : {
"revision" : "0680f9f6bfab7100cd585b3186740ee7860c983e",
"version" : "4.91.1"
"revision" : "11cdb29614a5c7f8c5289f3c97b3398c3d89b395",
"version" : "4.92.5"
}
},
{
"identity" : "vercel",
"kind" : "remoteSourceControl",
"location" : "https://github.com/swift-cloud/Vercel",
"state" : {
"revision" : "2e1defbea789dd48733799f53e981ea49a44f346",
"version" : "2.1.0"
"revision" : "5f0a071e8aec9c93039453cf928d54f2fa53ffb8",
"version" : "2.2.0"
}
},
{
"identity" : "websocket-kit",
"kind" : "remoteSourceControl",
"location" : "https://github.com/vapor/websocket-kit.git",
"state" : {
"revision" : "53fe0639a98903858d0196b699720decb42aee7b",
"version" : "2.14.0"
"revision" : "4232d34efa49f633ba61afde365d3896fc7f8740",
"version" : "2.15.0"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ let package = Package(
.macOS(.v12)
],
dependencies: [
.package(url: "https://github.com/swift-cloud/Vercel", from: "2.1.0")
.package(url: "https://github.com/swift-cloud/Vercel", from: "2.2.0")
],
targets: [
.executableTarget(name: "App", dependencies: ["Vercel"])
Expand Down

0 comments on commit 5812132

Please sign in to comment.