From 1eb2686438246b20ddda5e1ae06a05ef4accb886 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Mon, 21 Aug 2023 13:21:58 -0700 Subject: [PATCH] Use the swift docker image to run format check. See https://github.com/swift-actions/setup-swift/issues/591#issuecomment-1685710678 --- .github/workflows/format-check.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/format-check.yml b/.github/workflows/format-check.yml index 2813570c3..74f8abd34 100644 --- a/.github/workflows/format-check.yml +++ b/.github/workflows/format-check.yml @@ -22,6 +22,7 @@ jobs: build: name: Format check runs-on: ubuntu-latest + container: swift:5.8 steps: - name: Checkout uses: actions/checkout@v3 @@ -35,11 +36,6 @@ jobs: - run: git config --global core.autocrlf input - - name: Setup swift - uses: slashmo/install-swift@v0.4.0 - with: - version: 5.8 - - name: Swift version run: swift --version