Skip to content

Commit

Permalink
Use Xcode 14.2 on pod lint job
Browse files Browse the repository at this point in the history
  • Loading branch information
Widcket committed Aug 16, 2023
1 parent 2bbd408 commit f18426c
Showing 1 changed file with 14 additions and 9 deletions.
23 changes: 14 additions & 9 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@
name: Test
on: push

env:
xcodeproj: Auth0.xcodeproj

jobs:
test:
name: Test
runs-on: macos-latest

env:
xcodeproj: Auth0.xcodeproj

strategy:
matrix:
platform: [{ os: iOS, scheme: Auth0.iOS }, { os: macOS, scheme: Auth0.macOS }, { os: tvOS, scheme: Auth0.tvOS }]
xcode: ['14.2']
platform:
- { os: iOS, scheme: Auth0.iOS }
- { os: macOS, scheme: Auth0.macOS }
- { os: tvOS, scheme: Auth0.tvOS }
xcode:
- '14.2'

steps:
- name: Checkout
Expand Down Expand Up @@ -41,7 +45,7 @@ jobs:
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@0.3
if: ${{ failure() }}

swiftlint:
name: Swiftlint
runs-on: macos-latest
Expand All @@ -56,14 +60,15 @@ jobs:
- name: Cancel wokflow on failure
uses: andymckay/cancel-action@0.3
if: ${{ failure() }}

pod-lint:
name: Pod lint
runs-on: macos-latest

strategy:
matrix:
xcode: ['14.2', '14.3']
xcode:
- '14.2'

steps:
- name: Checkout
Expand All @@ -75,7 +80,7 @@ jobs:
xcode: ${{ matrix.xcode }}

- name: Run pod lib lint
run: bundle exec pod lib lint --allow-warnings --fail-fast --platforms=ios,macos,tvos
run: bundle exec pod lib lint --allow-warnings --fail-fast

- name: Cancel wokflow on failure
uses: andymckay/cancel-action@0.3
Expand Down

0 comments on commit f18426c

Please sign in to comment.