diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f09890c..1d14b27 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,7 +27,7 @@ jobs: needs: authorize # Require approval before running on forked pull requests name: Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }} environment: ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }} - runs-on: macos-13 + runs-on: macos-14 env: xcodeproj: SimpleKeychain.xcodeproj @@ -39,7 +39,7 @@ jobs: - { os: macOS, scheme: SimpleKeychain-macOS } - { os: tvOS, scheme: SimpleKeychain-tvOS } xcode: - - '15.0.1' + - '16.1' steps: - name: Checkout @@ -70,12 +70,12 @@ jobs: test-package: name: Test Swift package using Xcode ${{ matrix.xcode }} - runs-on: macos-13 + runs-on: macos-14 strategy: matrix: xcode: - - '15.0.1' + - '16.1' steps: - name: Checkout @@ -92,12 +92,12 @@ jobs: pod-lint: name: Lint podspec using Xcode ${{ matrix.xcode }} - runs-on: macos-13-xlarge + runs-on: macos-14-xlarge strategy: matrix: xcode: - - '15.2' + - '16.1' steps: - name: Checkout @@ -114,11 +114,14 @@ jobs: swiftlint: name: Lint code with SwiftLint - runs-on: macos-13 + runs-on: macos-14 steps: - name: Checkout uses: actions/checkout@v4 + + - name: Install SwiftLint + run: brew install swiftlint - name: Run SwiftLint run: swiftlint lint --reporter github-actions-logging diff --git a/Package.swift b/Package.swift index b237a8e..cf0472c 100644 --- a/Package.swift +++ b/Package.swift @@ -1,4 +1,4 @@ -// swift-tools-version:5.9 +// swift-tools-version:6.0 import PackageDescription let package = Package( diff --git a/README.md b/README.md index 4479095..2d6392f 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,8 @@ Migrating from 0.x? Check the [Migration Guide](V1_MIGRATION_GUIDE.md). ### Requirements - iOS 14.0+ / macOS 11.0+ / tvOS 14.0+ / watchOS 7.0+ -- Xcode 15.x -- Swift 5.9+ +- Xcode 16.x +- Swift 6.0+ > [!IMPORTANT] > Check the [Support Policy](#support-policy) to learn when dropping Xcode, Swift, and platform versions will not be considered a **breaking change**. diff --git a/SimpleKeychain.podspec b/SimpleKeychain.podspec index c4774c4..6ffe566 100644 --- a/SimpleKeychain.podspec +++ b/SimpleKeychain.podspec @@ -19,5 +19,5 @@ Pod::Spec.new do |s| s.visionos.deployment_target = '1.0' s.source_files = 'SimpleKeychain/*.swift' - s.swift_versions = ['5.9'] + s.swift_versions = ['6.0', '6.1'] end