Use 'brew install -f' to install or upgrade a formula

This commit is contained in:
Danny Moesch 2021-01-31 14:22:35 +01:00 committed by Mingshen Sun
parent 0ebfd69c47
commit 00d8c946ab

View file

@ -8,7 +8,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Installing packages - name: Installing packages
run: brew update && brew install swiftformat run: brew update && brew install -f swiftformat
- name: swiftformat - name: swiftformat
run: | run: |
swiftformat --lint . swiftformat --lint .
@ -18,7 +18,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Installing packages - name: Installing packages
run: brew update && brew upgrade swiftlint run: brew update && brew install -f swiftlint
- name: swiftlint - name: swiftlint
run: | run: |
swiftlint --strict swiftlint --strict