Skip to content

Commit

Permalink
Update usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyberbeni committed Sep 20, 2024
1 parent d4384a9 commit e25a17e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 .
```
Expand Down

0 comments on commit e25a17e

Please sign in to comment.