@@ -12,6 +12,9 @@ concurrency:
1212 group : ${{ github.workflow }}-${{ github.ref }}
1313 cancel-in-progress : ${{ github.ref != 'refs/heads/master' }}
1414
15+ env :
16+ ruby : ' 3.3.1'
17+
1518jobs :
1619 authorize :
1720 name : Authorize
2427 needs : authorize # Require approval before running on forked pull requests
2528 name : Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
2629 environment : ${{ github.event.pull_request.head.repo.fork && 'external' || 'internal' }}
27- runs-on : macos-13
30+ runs-on : macos-14
2831
2932 env :
3033 xcodeproj : SimpleKeychain.xcodeproj
@@ -36,15 +39,16 @@ jobs:
3639 - { os: macOS, scheme: SimpleKeychain-macOS }
3740 - { os: tvOS, scheme: SimpleKeychain-tvOS }
3841 xcode :
39- - ' 15.0 .1'
42+ - ' 16 .1'
4043
4144 steps :
4245 - name : Checkout
43- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
46+ uses : actions/checkout@v6
4447
4548 - name : Set up environment
4649 uses : ./.github/actions/setup
4750 with :
51+ ruby : ${{ env.ruby }}
4852 xcode : ${{ matrix.xcode }}
4953
5054 - name : Run tests
@@ -60,59 +64,64 @@ jobs:
6064
6165 - name : Upload coverage report
6266 if : ${{ matrix.platform.os == 'iOS' }}
63- uses : codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # pin@5.3.1
67+ uses : codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # pin@5.5.2
6468 with :
6569 token : ${{ secrets.CODECOV_TOKEN }}
6670
6771 test-package :
6872 name : Test Swift package using Xcode ${{ matrix.xcode }}
69- runs-on : macos-13
73+ runs-on : macos-14
7074
7175 strategy :
7276 matrix :
7377 xcode :
74- - ' 15.0 .1'
78+ - ' 16 .1'
7579
7680 steps :
7781 - name : Checkout
78- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
82+ uses : actions/checkout@v6
7983
8084 - name : Set up environment
8185 uses : ./.github/actions/setup
8286 with :
87+ ruby : ${{ env.ruby }}
8388 xcode : ${{ matrix.xcode }}
8489
8590 - name : Run tests
8691 run : swift test
8792
8893 pod-lint :
8994 name : Lint podspec using Xcode ${{ matrix.xcode }}
90- runs-on : macos-13 -xlarge
95+ runs-on : macos-14 -xlarge
9196
9297 strategy :
9398 matrix :
9499 xcode :
95- - ' 15.2 '
100+ - ' 16.1 '
96101
97102 steps :
98103 - name : Checkout
99- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
104+ uses : actions/checkout@v6
100105
101106 - name : Set up environment
102107 uses : ./.github/actions/setup
103108 with :
109+ ruby : ${{ env.ruby }}
104110 xcode : ${{ matrix.xcode }}
105111
106112 - name : Run pod lib lint
107113 run : bundle exec pod lib lint --allow-warnings --fail-fast
108114
109115 swiftlint :
110116 name : Lint code with SwiftLint
111- runs-on : macos-13
117+ runs-on : macos-14
112118
113119 steps :
114120 - name : Checkout
115- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
121+ uses : actions/checkout@v6
122+
123+ - name : Install SwiftLint
124+ run : brew install swiftlint
116125
117126 - name : Run SwiftLint
118127 run : swiftlint lint --reporter github-actions-logging
0 commit comments