Skip to content

Commit

Permalink
revert to see fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv committed Jul 17, 2024
1 parent b97feac commit 079f691
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: [pull_request]

jobs:
test:
runs-on: macos-12
runs-on: macos-14
env:
ALGOLIA_APPLICATION_ID_1: ${{ secrets.ALGOLIA_APPLICATION_ID_1 }}
ALGOLIA_ADMIN_KEY_1: ${{ secrets.ALGOLIA_ADMIN_KEY_1 }}
Expand All @@ -13,7 +13,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Select Xcode version
run: sudo xcode-select -s '/Applications/Xcode_14.2.app/Contents/Developer'
run: sudo xcode-select -s '/Applications/Xcode_16.0.app/Contents/Developer'
- name: Build project
run: swift build
- name: Run tests
Expand Down
10 changes: 5 additions & 5 deletions Sources/InstantSearchCore/Pagination/PageMap.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ struct PageMap<Item> {

// MARK: SequenceType

// extension PageMap: Sequence {
// public func makeIterator() -> IndexingIterator<PageMap> {
// return IndexingIterator(_elements: self)
// }
// }
extension PageMap: Sequence {
public func makeIterator() -> IndexingIterator<PageMap> {
return IndexingIterator(_elements: self)
}
}

// MARK: CollectionType

Expand Down

0 comments on commit 079f691

Please sign in to comment.