chore: add invalid_credentials error #10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
swiftlint: | |
runs-on: ubuntu-latest | |
container: | |
image: swift:5.10-noble | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up swiftlint | |
run: | | |
sudo apt-get update && sudo apt-get install -y unzip curl | |
unzip ci/swiftlint.zip -d /usr/local/bin/ | |
chmod +x /usr/local/bin/swiftlint | |
- name: Run swiftlint | |
run: swiftlint lint --strict . | |
swiftformat: | |
runs-on: ubuntu-latest | |
container: | |
image: swift:5.10-noble | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up swiftformat | |
run: | | |
sudo apt-get update && sudo apt-get install -y unzip curl | |
unzip ci/swiftformat.zip -d /usr/local/bin/ | |
chmod +x /usr/local/bin/swiftformat | |
- name: Run swiftformat | |
run: swiftformat --lint . |