Add brew link --overwrite swiftlint to overwrite potential CI issue

This commit is contained in:
Mingshen Sun 2021-01-31 15:31:30 -08:00
parent 00d8c946ab
commit e0f1857e40
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4

View file

@ -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 install -f swiftlint run: brew update && brew install -f swiftlint || brew link --overwrite swiftlint
- name: swiftlint - name: swiftlint
run: | run: |
swiftlint --strict swiftlint --strict