diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4f8f644..2a6835d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ on: jobs: soundness: container: - image: ghcr.io/lovetodream/swift-format-ci:main + image: ghcr.io/lovetodream/swift-format-ci:v5.10.0 runs-on: ubuntu-latest @@ -19,21 +19,10 @@ jobs: - uses: actions/checkout@v4 - name: Mark repo safe in non-fake global config run: git config --global --add safe.directory "${GITHUB_WORKSPACE}" - # - name: Setup swift-format - # run: | - # cd .. - # VERSION=510.1.0 - # git clone https://github.com/apple/swift-format.git - # cd swift-format - # git checkout "tags/$VERSION" - # swift build -c release - # cd "${GITHUB_WORKSPACE}" - name: Run soundness - run: scripts/soundness.sh - # run: | - # export SWIFTFORMAT_BIN=$(pwd)/../swift-format/.build/release/swift-format - # scripts/soundness.sh - # exit $(git status --porcelain | wc -l) + run: | + scripts/soundness.sh + exit $(git status --porcelain | wc -l) api-breakage: if: github.event_name == 'pull_request'