From 95815483909b8a473d3fcadcac61abbff76421ca Mon Sep 17 00:00:00 2001 From: fwcd Date: Sun, 7 Jan 2024 16:33:59 +0000 Subject: [PATCH] Run CI in a Docker container for now To work around https://github.com/swift-actions/setup-swift/issues/591 --- .github/workflows/build.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 77951db..b9965fb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,17 +11,13 @@ jobs: build: strategy: matrix: - os: ['ubuntu-latest', 'macos-13'] swift: ['5.4', '5.9'] - runs-on: ${{ matrix.os }} + runs-on: ubuntu-latest + container: swift:${{ matrix.swift }} + steps: - uses: actions/checkout@v4 - - name: Install Swift - # TODO: Use swift-actions/setup-swift once gpg failures have been fixed - uses: fwal/setup-swift@v1 - with: - swift-version: ${{ matrix.swift }} - name: Build run: swift build - name: Test