From 5270264c9842f0ec530cce7ecf75026970a97c8d Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Thu, 15 May 2025 00:58:30 +0900 Subject: [PATCH 1/2] revert: ci: remove deprecated `--strict` flag This reverts commit e1537ab892f09eb39f94b98683c38bf6bbf43de5. --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 34e704f..178816e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,7 +18,7 @@ jobs: steps: - uses: actions/checkout@v4 - run: swift --version - - run: swift format lint -rp . + - run: swift format lint -rsp . yamllint: runs-on: ubuntu-24.04-arm steps: From eb302c462ab9f9929a8158fdd9a0c5a394d2c0d4 Mon Sep 17 00:00:00 2001 From: Kenta Kubo <601636+kkebo@users.noreply.github.com> Date: Thu, 15 May 2025 01:02:51 +0900 Subject: [PATCH 2/2] docs: add `--strict` to swift-format in README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6cf4d70..a517da8 100644 --- a/README.md +++ b/README.md @@ -81,5 +81,5 @@ swift format format -rip . Lint: ```shell -swift format lint -rp . +swift format lint -rsp . ```