Skip to content

Commit

Permalink
Update GitHub Actions and Set the Platform Requirement to macOS 11 (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Nov 4, 2021
1 parent 6a88375 commit 89b9447
Show file tree
Hide file tree
Showing 10 changed files with 63 additions and 233 deletions.
28 changes: 0 additions & 28 deletions .github/release-drafter.yml

This file was deleted.

88 changes: 0 additions & 88 deletions .github/workflows/build-and-test.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,19 @@
# SPDX-License-Identifier: MIT
#

name: Release Drafter
name: Build

on:
push:
branches:
- release
- develop
workflow_dispatch:

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
build_and_test:
name: Build and Test
uses: Apodini/.github/.github/workflows/build-and-test.yml@main
with:
packagename: ApodiniMigrator
usexcodebuild: false
testdocc: false
24 changes: 0 additions & 24 deletions .github/workflows/docs.yml

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#
# This source file is part of the Apodini open source project
#
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
#
# SPDX-License-Identifier: MIT
#

name: Pull Request

on:
pull_request:
workflow_dispatch:

jobs:
build_and_test:
name: Build and Test
uses: Apodini/.github/.github/workflows/build-and-test.yml@main
with:
packagename: ApodiniMigrator
usexcodebuild: false
testdocc: false
reuse_action:
name: REUSE Compliance Check
uses: Apodini/.github/.github/workflows/reuse.yml@main
swiftlint:
name: SwiftLint
uses: Apodini/.github/.github/workflows/swiftlint.yml@main
23 changes: 0 additions & 23 deletions .github/workflows/release.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/reuseaction.yml

This file was deleted.

33 changes: 0 additions & 33 deletions .github/workflows/swiftlint.yml

This file was deleted.

21 changes: 21 additions & 0 deletions .github/workflows/update.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#
# This source file is part of the Apodini open source project
#
# SPDX-FileCopyrightText: 2021 Paul Schmiedmayer and the project authors (see CONTRIBUTORS.md) <[email protected]>
#
# SPDX-License-Identifier: MIT
#

name: Update

on:
schedule:
- cron: '0 0 * * 1'
workflow_dispatch:

jobs:
spm_update:
name: Swift Package Update
uses: Apodini/.github/.github/workflows/spm-update.yml@main
secrets:
token: ${{ secrets.ACCESS_TOKEN }}
7 changes: 4 additions & 3 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ import PackageDescription
let package = Package(
name: "ApodiniMigrator",
platforms: [
.macOS(.v12), .iOS(.v14)
.macOS(.v11),
.iOS(.v13)
],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
Expand All @@ -28,10 +29,10 @@ let package = Package(
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/Apodini/ApodiniTypeInformation.git", .upToNextMinor(from: "0.2.0")),
.package(url: "https://github.com/kylef/PathKit.git", .upToNextMinor(from: "1.0.1")),
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.1"),
.package(url: "https://github.com/apple/swift-argument-parser", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/omochi/FineJSON.git", .exact("1.14.0")),
.package(url: "https://github.com/omochi/FineJSON.git", from: "1.14.0"),
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.0")
],
targets: [
Expand Down

0 comments on commit 89b9447

Please sign in to comment.