Skip to content

Commit

Permalink
Run pod lint on Ubuntu (#31)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed May 17, 2024
1 parent a69ef24 commit da4a9e4
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,19 @@ on:

jobs:
pod-lint:
name: Pod Lint
runs-on: macos-14
runs-on: ubuntu-latest
steps:
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.1'
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Setup Swift Environment
uses: swift-actions/setup-swift@v2
with:
swift-version: 5.9
- name: Bundle Install
run: bundle install
- name: Select Xcode Version
run: sudo xcode-select --switch /Applications/Xcode_15.2.app/Contents/Developer
- name: Lint Podspec
run: bundle exec pod lib lint --verbose --fail-fast --swift-version=5.9
spm-15:
Expand All @@ -39,7 +40,7 @@ jobs:
with:
ruby-version: '3.3.1'
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Bundle Install
run: bundle install
- name: Select Xcode Version
Expand All @@ -59,7 +60,7 @@ jobs:
with:
ruby-version: '3.3.1'
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Bundle Install
run: bundle install
- name: Select Xcode Version
Expand All @@ -73,7 +74,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Swift Environment
uses: swift-actions/setup-swift@v1
uses: swift-actions/setup-swift@v2
with:
swift-version: 5.9
- name: Build and Test Framework
Expand Down

0 comments on commit da4a9e4

Please sign in to comment.