From 65564238992a6d5807c54e34335b41f2bdaa20ee Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Tue, 3 Mar 2026 00:06:39 +0100 Subject: [PATCH 1/2] Run swift linux tests in docker container --- .github/workflows/ci.yml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b925160..969a8dc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,10 +5,10 @@ on: branches: - main paths-ignore: - - 'README.md' - - 'CODE_OF_CONDUCT.md' - - '.editorconfig' - - '.spi.yml' + - "README.md" + - "CODE_OF_CONDUCT.md" + - ".editorconfig" + - ".spi.yml" pull_request: branches: - main @@ -40,20 +40,19 @@ jobs: linux_test: name: Test Linux - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 + container: + image: swift:${{matrix.swift-version}} timeout-minutes: 30 strategy: + fail-fast: false matrix: swift-version: - - 6.1 - - 6.2 - - latest + - "6.1" + - "6.2" + - "latest" steps: - name: Checkout uses: actions/checkout@v4 - - name: Swiftly - uses: vapor/swiftly-action@v0.2.0 - with: - toolchain: ${{ matrix.swift-version }} - name: Test run: swift test From 1bb128e32050466f0c5896175c165dc122070460 Mon Sep 17 00:00:00 2001 From: Emelia Smith Date: Tue, 3 Mar 2026 00:32:00 +0100 Subject: [PATCH 2/2] Add output of swift version in linux tests --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 969a8dc..6d874f1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -54,5 +54,6 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4 + - run: swift --version - name: Test run: swift test