Skip to content

Commit

Permalink
Use Xcode 15 on CI (#215)
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket authored Dec 14, 2023
1 parent e14f2fb commit 7f05fc2
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
name: CI

on:
pull_request:
types:
Expand All @@ -9,12 +10,12 @@ permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.ref != 'refs/heads/master' }}

jobs:
test:
name: Test on ${{ matrix.platform.os }} using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
runs-on: macos-13

env:
xcodeproj: JWTDecode.xcodeproj
Expand All @@ -26,7 +27,7 @@ jobs:
- { os: macOS, scheme: JWTDecode-macOS }
- { os: tvOS, scheme: JWTDecode-tvOS }
xcode:
- '14.2'
- '15.0.1'

steps:
- name: Checkout
Expand Down Expand Up @@ -54,12 +55,12 @@ jobs:

test-package:
name: Test Swift package using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
runs-on: macos-13

strategy:
matrix:
xcode:
- '14.2'
- '15.0.1'

steps:
- name: Checkout
Expand All @@ -75,12 +76,12 @@ jobs:

pod-lint:
name: Lint podspec using Xcode ${{ matrix.xcode }}
runs-on: macos-latest
runs-on: macos-13

strategy:
matrix:
xcode:
- '14.2'
- '15.0.1'

steps:
- name: Checkout
Expand All @@ -96,7 +97,7 @@ jobs:

swiftlint:
name: Lint code with SwiftLint
runs-on: macos-latest
runs-on: macos-13

steps:
- name: Checkout
Expand Down

0 comments on commit 7f05fc2

Please sign in to comment.