Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix(swift): update CI workflow to a previous working state #2947

Merged
merged 1 commit into from
Apr 3, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,13 @@ jobs:
if: ${{ matrix.client.language == 'php' && startsWith(env.head_ref, 'chore/renovateBaseBranch') }}
run: cd ${{ matrix.client.path }} && composer update

- name: Check for file duplicates in Swift
if: ${{ matrix.client.language == 'swift' }}
run: |
set -eo pipefail
cd clients/algoliasearch-client-swift
[ $(find Sources -type f | rev | cut -d '/' -f1 | rev | sort | uniq -d | wc -l) -gt 0 ] && echo "Duplicates found" && exit 1 || echo "No duplicate found"

- name: Build clients
run: ${{ matrix.client.buildCommand }}

Expand Down Expand Up @@ -396,13 +403,6 @@ jobs:
- name: Run CTS
run: yarn cli cts run swift ${{ fromJSON(needs.setup.outputs.SWIFT_DATA).toRun }}

- name: Run Swift CocoaPods validity
run: |
set -eo pipefail
cd clients/algoliasearch-client-swift
[ $(find Sources -type f | rev | cut -d '/' -f1 | rev | sort | uniq -d | wc -l) -gt 0 ] && echo "Duplicates found" && exit 1 || echo "No duplicates found"
pod lib lint --allow-warnings

codegen:
runs-on: ubuntu-22.04
timeout-minutes: 15
Expand Down
Loading