Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions .github/actions/ci/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,11 @@ runs:

- name: Install mint
shell: bash
run: |
brew tap mint-lang/mint-lang
brew install mint-lang
run: brew install mint

- name: Bootstrap Mint packages
shell: bash
run: mint bootstrap

- name: Install cocoapods
shell: bash
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,9 @@ jobs:
fail-fast: false
matrix:
include:
- xcode-version: 15.0.1
ios-sim: 'platform=iOS Simulator,name=iPhone 17,OS=17.0'
os: macos-13
- xcode-version: 14.3.1
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
os: macos-13
- xcode-version: 15.4.0
ios-sim: 'platform=iOS Simulator,name=iPhone 15'
os: macos-14

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -59,14 +56,14 @@ jobs:
run: swift test --enable-test-discovery

windows-build:
name: Windows - Swift 5.9
name: Windows - Swift 6.1
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install Swift
uses: compnerd/gha-setup-swift@cd348eb89f2f450b0664c07fb1cb66880addf17d
with:
branch: swift-5.9-release
tag: 5.9-RELEASE
branch: swift-6.1-release
tag: 6.1-RELEASE
- name: Build and test
run: swift test
6 changes: 3 additions & 3 deletions .github/workflows/manual-publish-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
name: Publish Documentation
jobs:
build-publish:
runs-on: macos-13
runs-on: macos-14

permissions:
id-token: write # Needed if using OIDC to get release secrets.
Expand All @@ -16,8 +16,8 @@ jobs:
- name: Build and Test
uses: ./.github/actions/ci
with:
xcode-version: 14.3.1
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
xcode-version: 15.4.0
ios-sim: 'platform=iOS Simulator,name=iPhone 15'
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/build-docs
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/manual-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build-publish:
runs-on: macos-13
runs-on: macos-14

# Needed to get tokens during publishing.
permissions:
Expand All @@ -27,8 +27,8 @@ jobs:

- uses: ./.github/actions/ci
with:
xcode-version: 14.3.1
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
xcode-version: 15.4.0
ios-sim: 'platform=iOS Simulator,name=iPhone 15'
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/publish
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:

jobs:
release-package:
runs-on: macos-13
runs-on: macos-14

permissions:
id-token: write # Needed if using OIDC to get release secrets.
Expand Down Expand Up @@ -45,8 +45,8 @@ jobs:
- uses: ./.github/actions/ci
if: ${{ steps.release.outputs.releases_created == 'true' }}
with:
xcode-version: 14.3.1
ios-sim: 'platform=iOS Simulator,name=iPhone 16,OS=16.4'
xcode-version: 15.4.0
ios-sim: 'platform=iOS Simulator,name=iPhone 15'
token: ${{ secrets.GITHUB_TOKEN }}

- uses: ./.github/actions/build-docs
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ start-contract-test-service-bg:

run-contract-tests:
curl -s https://raw.githubusercontent.com/launchdarkly/sse-contract-tests/main/downloader/run.sh \
| VERSION=v1 PARAMS="-url http://localhost:8000 -debug -stop-service-at-end -skip 'basic parsing/large message in one chunk' -skip 'basic parsing/large message in two chunks'" sh
| VERSION=v2 PARAMS="-url http://localhost:8000 -debug -stop-service-at-end -skip 'basic parsing/large message in one chunk' -skip 'basic parsing/large message in two chunks'" sh

contract-tests: build-contract-tests start-contract-test-service-bg run-contract-tests

Expand Down
2 changes: 1 addition & 1 deletion Mintfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
realm/SwiftLint@0.49.1
realm/SwiftLint@0.56.2