Skip to content

Commit 89b9447

Browse files
Update GitHub Actions and Set the Platform Requirement to macOS 11 (#4)
1 parent 6a88375 commit 89b9447

10 files changed

Lines changed: 63 additions & 233 deletions

File tree

.github/release-drafter.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.github/workflows/build-and-test.yml

Lines changed: 0 additions & 88 deletions
This file was deleted.
Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,19 @@
66
# SPDX-License-Identifier: MIT
77
#
88

9-
name: Release Drafter
9+
name: Build
1010

1111
on:
1212
push:
1313
branches:
14-
- release
14+
- develop
15+
workflow_dispatch:
1516

1617
jobs:
17-
update_release_draft:
18-
runs-on: ubuntu-latest
19-
steps:
20-
- uses: release-drafter/release-drafter@v5
21-
env:
22-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
18+
build_and_test:
19+
name: Build and Test
20+
uses: Apodini/.github/.github/workflows/build-and-test.yml@main
21+
with:
22+
packagename: ApodiniMigrator
23+
usexcodebuild: false
24+
testdocc: false

.github/workflows/docs.yml

Lines changed: 0 additions & 24 deletions
This file was deleted.

.github/workflows/pull_request.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
#
2+
# This source file is part of the Apodini open source project
3+
#
4+
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
name: Pull Request
10+
11+
on:
12+
pull_request:
13+
workflow_dispatch:
14+
15+
jobs:
16+
build_and_test:
17+
name: Build and Test
18+
uses: Apodini/.github/.github/workflows/build-and-test.yml@main
19+
with:
20+
packagename: ApodiniMigrator
21+
usexcodebuild: false
22+
testdocc: false
23+
reuse_action:
24+
name: REUSE Compliance Check
25+
uses: Apodini/.github/.github/workflows/reuse.yml@main
26+
swiftlint:
27+
name: SwiftLint
28+
uses: Apodini/.github/.github/workflows/swiftlint.yml@main

.github/workflows/release.yml

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/workflows/reuseaction.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

.github/workflows/swiftlint.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.github/workflows/update.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#
2+
# This source file is part of the Apodini open source project
3+
#
4+
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <paul.schmiedmayer@tum.de>
5+
#
6+
# SPDX-License-Identifier: MIT
7+
#
8+
9+
name: Update
10+
11+
on:
12+
schedule:
13+
- cron: '0 0 * * 1'
14+
workflow_dispatch:
15+
16+
jobs:
17+
spm_update:
18+
name: Swift Package Update
19+
uses: Apodini/.github/.github/workflows/spm-update.yml@main
20+
secrets:
21+
token: ${{ secrets.ACCESS_TOKEN }}

Package.swift

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ import PackageDescription
1414
let package = Package(
1515
name: "ApodiniMigrator",
1616
platforms: [
17-
.macOS(.v12), .iOS(.v14)
17+
.macOS(.v11),
18+
.iOS(.v13)
1819
],
1920
products: [
2021
// Products define the executables and libraries a package produces, and make them visible to other packages.
@@ -28,10 +29,10 @@ let package = Package(
2829
dependencies: [
2930
// Dependencies declare other packages that this package depends on.
3031
.package(url: "https://github.com/Apodini/ApodiniTypeInformation.git", .upToNextMinor(from: "0.2.0")),
31-
.package(url: "https://github.com/kylef/PathKit.git", .upToNextMinor(from: "1.0.1")),
32+
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1"),
3233
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
3334
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
34-
.package(url: "https://github.com/omochi/FineJSON.git", .exact("1.14.0")),
35+
.package(url: "https://github.com/omochi/FineJSON.git", from: "1.14.0"),
3536
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.0")
3637
],
3738
targets: [

0 commit comments

Comments
 (0)