Skip to content

Commit

Permalink
updated swift version
Browse files Browse the repository at this point in the history
  • Loading branch information
ypopovych committed Jul 26, 2023
1 parent a83b148 commit 15408c5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_13.4.app
run: sudo xcode-select -s /Applications/Xcode_14.0.app
- name: Build and Test SPM
run: swift test
- name: Build and Test CocoaPods
run: pod lib lint --allow-warnings --fail-fast
linux:
runs-on: ubuntu-latest
container:
image: swift:5.2
image: swift:5.4
options: --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --security-opt apparmor=unconfined
steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_13.4.app
run: sudo xcode-select -s /Applications/Xcode_14.0.app
- name: Publish Pod
run: pod trunk push --allow-warnings
env:
Expand Down
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.0
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription
Expand Down
2 changes: 1 addition & 1 deletion ScaleCodec.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ SCALE codec implementation for Swift language. Supports all SCALE standard types
s.tvos.deployment_target = '9.0'
s.watchos.deployment_target = '2.0'

s.swift_version = '5'
s.swift_version = '5.4'

s.module_name = 'ScaleCodec'

Expand Down

0 comments on commit 15408c5

Please sign in to comment.