diff --git a/.github/actions/ci/action.yml b/.github/actions/ci/action.yml index d07a9a2..d17638c 100644 --- a/.github/actions/ci/action.yml +++ b/.github/actions/ci/action.yml @@ -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 diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2e219d0..a230899 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 diff --git a/.github/workflows/manual-publish-docs.yml b/.github/workflows/manual-publish-docs.yml index 20f13d3..9b05e93 100644 --- a/.github/workflows/manual-publish-docs.yml +++ b/.github/workflows/manual-publish-docs.yml @@ -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. @@ -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 diff --git a/.github/workflows/manual-publish.yml b/.github/workflows/manual-publish.yml index afdb80a..08568f5 100644 --- a/.github/workflows/manual-publish.yml +++ b/.github/workflows/manual-publish.yml @@ -9,7 +9,7 @@ on: jobs: build-publish: - runs-on: macos-13 + runs-on: macos-14 # Needed to get tokens during publishing. permissions: @@ -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 diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f072232..cff733f 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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. @@ -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 diff --git a/Makefile b/Makefile index 05c5e1f..d87990e 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/Mintfile b/Mintfile index 089790b..556adef 100644 --- a/Mintfile +++ b/Mintfile @@ -1 +1 @@ -realm/SwiftLint@0.49.1 +realm/SwiftLint@0.56.2