Skip to content

Commit

Permalink
Update Swift (#419)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas34 authored Sep 21, 2022
1 parent 7b40644 commit c6a19b7
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 11 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,16 +29,19 @@ jobs:

SPM:

runs-on: macOS-latest
runs-on: macos-12

steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: latest
- uses: actions/[email protected]
- name: Test
run: swift test

POD:

runs-on: macOS-latest
runs-on: macos-12

steps:
- uses: actions/[email protected]
Expand All @@ -47,12 +50,12 @@ jobs:

CARTHAGE:

runs-on: macOS-latest
runs-on: macos-12

steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
xcode-version: latest
- uses: actions/[email protected]
- name: Build
run: carthage build --no-skip-current --use-xcframeworks
Expand All @@ -65,12 +68,12 @@ jobs:

XCODE:

runs-on: macOS-latest
runs-on: macos-12

steps:
- uses: maxim-lobanov/[email protected]
with:
xcode-version: latest-stable
xcode-version: latest
- uses: actions/[email protected]
- name: Build
run: xcodebuild -project "SwiftQueue.xcodeproj" -scheme "SwiftQueue macOS" -destination "arch=x86_64" -configuration Debug ONLY_ACTIVE_ARCH=NO ENABLE_TESTABILITY=YES test -enableCodeCoverage YES | xcpretty
Expand Down
2 changes: 1 addition & 1 deletion .swift-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5.5.3
5.7.0
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.5.0
// swift-tools-version:5.7.0
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
4 changes: 1 addition & 3 deletions SwiftQueue.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ Pod::Spec.new do |s|
s.author = { "Lucas Nelaupe" => "[email protected]" }
s.source = { :git => "https://github.com/lucas34/SwiftQueue.git", :tag => s.version.to_s }

s.swift_version = '5.5.3'
s.swift_version = '5.7.0'

s.ios.deployment_target = "12.0"
s.tvos.deployment_target= "12.0"
s.watchos.deployment_target = "5.0"
s.osx.deployment_target= "10.14"

s.requires_arc = true

s.source_files = 'Sources/SwiftQueue/**.swift'
s.ios.source_files = 'Sources/ios/*.swift', 'Sources/SwiftQueue/**.swift'

Expand Down

0 comments on commit c6a19b7

Please sign in to comment.