Skip to content

Commit

Permalink
Run pod lint on Ubuntu (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
dfed committed May 17, 2024
1 parent 66cbb82 commit 8ddc025
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,29 @@ on:
jobs:
pod-lint:
name: Pod Lint
runs-on: macOS-14
runs-on: ubuntu-20.04
strategy:
matrix:
swift_version: [
'5.6',
'5.7',
'5.8',
'5.9',
'5.10',
]
fail-fast: false
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: ${{ matrix.swift_version }}
- 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=${{ matrix.swift_version }}
spm-13:
Expand All @@ -46,7 +49,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 @@ -68,7 +71,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 @@ -90,7 +93,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 @@ -112,7 +115,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 @@ -136,7 +139,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 @@ -156,7 +159,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 Down

0 comments on commit 8ddc025

Please sign in to comment.