From e25a17e62a861a56da401da00261dc525e70725a Mon Sep 17 00:00:00 2001 From: Benedek Kozma Date: Fri, 20 Sep 2024 18:23:42 +0200 Subject: [PATCH] Update usage example --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index bc22118b..6408815e 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ Github action to install swift based tools, like `xcbeautify` or `swiftformat`, Step example: ```yaml - name: Install xcbeautify - uses: Cyberbeni/install-swift-tool@v2 + uses: Cyberbeni/install-swift-tool@v3 with: url: https://github.com/Cyberbeni/xcbeautify commit: '40fa00f879ec5823a7362cbb8ca0cd06abafde61' # optional, commit hash @@ -40,12 +40,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install SwiftFormat - uses: Cyberbeni/install-swift-tool@v2 + uses: Cyberbeni/install-swift-tool@v3 with: url: https://github.com/nicklockwood/SwiftFormat - version: '*' # https://devhints.io/semver - name: Lint run: swiftformat --lint . ```