Skip to content

Commit

Permalink
.github/workflows/swift: install swift-format via Linux homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
ydnar committed Jun 15, 2024
1 parent 805c5c6 commit 768da29
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/swift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ jobs:
submodules: recursive

- name: Install swift-format
uses: Cyberbeni/install-swift-tool@v2
with:
url: https://github.com/apple/swift-format
run: /home/linuxbrew/.linuxbrew/bin/brew install swift-format
# uses: Cyberbeni/install-swift-tool@v2
# with:
# url: https://github.com/apple/swift-format

- name: Format Swift code
run: swift-format -r -i ./
Expand Down

0 comments on commit 768da29

Please sign in to comment.