Skip to content

Commit 72389d9

Browse files
authored
ci: added dependabot swift support (SwiftyLab#20)
1 parent 5cc1a93 commit 72389d9

4 files changed

Lines changed: 17 additions & 14 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "Swift",
2+
"name": "Swift",
33
"image": "swiftlang/swift:nightly-5.9-jammy",
44
"features": {
55
"ghcr.io/devcontainers/features/common-utils:2": {
@@ -30,16 +30,18 @@
3030
// Add the IDs of extensions you want installed when the container is created.
3131
"extensions": [
3232
"sswg.swift-lang",
33-
"vadimcn.vscode-lldb"
33+
"vadimcn.vscode-lldb",
34+
"eamodio.gitlens",
35+
"github.vscode-github-actions"
3436
]
3537
}
3638
},
3739
// Use 'forwardPorts' to make a list of ports inside the container available locally.
38-
"forwardPorts": [8080],
39-
40+
"forwardPorts": [
41+
8080
42+
],
4043
// Use 'postCreateCommand' to run commands after the container is created.
4144
"postCreateCommand": "swift --version",
42-
4345
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
4446
"remoteUser": "vscode"
4547
}

.github/dependabot.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
version: 2
22
enable-beta-ecosystems: true
33
updates:
4-
# - package-ecosystem: swift-package
5-
# directory: /
6-
# schedule:
7-
# interval: weekly
8-
# commit-message:
9-
# prefix: 'deps: '
4+
- package-ecosystem: swift
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
commit-message:
9+
prefix: 'chore(Deps): '
1010

1111
- package-ecosystem: github-actions
1212
directory: /

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
{
4444
"os": "macos-13",
4545
"language": "swift",
46-
"xcode": "15"
46+
"xcode": "15-beta"
4747
}
4848
]
4949
}
@@ -74,7 +74,7 @@ jobs:
7474
},
7575
{
7676
"os": ""macos-13",
77-
"xcode": "15"
77+
"xcode": "15-beta"
7878
}
7979
]
8080
}

Package.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ let package = Package(
3030
.library(name: "MetaCodable", targets: ["MetaCodable"]),
3131
],
3232
dependencies: [
33-
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0-swift-DEVELOPMENT-SNAPSHOT-2023-07-09-a"),
33+
.package(url: "https://github.com/apple/swift-syntax.git", from: "509.0.0"),
3434
.package(url: "https://github.com/apple/swift-collections.git", from: "1.0.4"),
35+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
3536
],
3637
targets: [
3738
.macro(name: "CodableMacroPlugin", dependencies: macroDeps),

0 commit comments

Comments
 (0)