Skip to content

Commit

Permalink
fix(swift): update CI workflow to a previous working state (#2947)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fluf22 committed Apr 3, 2024
1 parent d4ec53e commit deb4e8c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/check.yml
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

1 comment on commit deb4e8c

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.