Skip to content

Commit

Permalink
Bump CI actions
Browse files Browse the repository at this point in the history
Github retired macos 12 runners, so upgrade to more recent versions
  • Loading branch information
younata committed Dec 16, 2024
1 parent 7795df4 commit 023bd34
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/carthage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
carthage:
name: Carthage Build
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/ci-swiftpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,24 +11,24 @@ on:
- "*"

jobs:
swiftpm_darwin_monterey:
swiftpm_darwin_ventura:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
xcode: ["14.3.1"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
- uses: actions/checkout@v4
- run: ./test swiftpm

swiftpm_darwin_ventura:
swiftpm_darwin_sonoma:
name: SwiftPM, Darwin, Xcode ${{ matrix.xcode }}
runs-on: macos-13
runs-on: macos-14
strategy:
matrix:
xcode: ["14.3.1"]
xcode: ["15.4", "16.1"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
Expand All @@ -43,6 +43,8 @@ jobs:
container:
- swift:5.7
- swift:5.8
- swift:5.9
- swift:6.0
# - swiftlang/swift:nightly
fail-fast: false
container: ${{ matrix.container }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci-xcode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ on:
- "*"

jobs:
xcode_monterey:
xcode_ventura:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-12
runs-on: macos-13
strategy:
matrix:
xcode: ["14.0.1", "14.1", "14.2"]
xcode: ["14.3.1"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
Expand All @@ -27,12 +27,12 @@ jobs:
- run: ./test tvos
- run: ./test watchos

xcode_ventura:
xcode_sonoma:
name: Xcode ${{ matrix.xcode }} (Xcode Project)
runs-on: macos-13
strategy:
matrix:
xcode: ["14.3.1"]
xcode: ["15.4", "16.1"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
Expand All @@ -45,10 +45,10 @@ jobs:

xcode_spm:
name: Xcode ${{ matrix.xcode }} (Swift Package)
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1"]
xcode: ["16.1"]
fail-fast: false
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cocoapods.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
jobs:
cocoapods:
name: CocoaPods Lint
runs-on: macos-12
runs-on: macos-14
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ on:
jobs:
carthage_archive:
name: Darwin, Xcode 14.0
runs-on: macos-12
runs-on: macos-14
strategy:
matrix:
xcode: ["14.0.1"]
xcode: ["16.1"]
env:
DEVELOPER_DIR: "/Applications/Xcode_${{ matrix.xcode }}.app"
steps:
Expand Down

0 comments on commit 023bd34

Please sign in to comment.