Bump actions/checkout from 3 to 4 #77
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: SwiftLint | |
on: | |
push: | |
branches: master | |
pull_request: | |
jobs: | |
lint: | |
name: SwiftLint | |
runs-on: macos-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- | |
name: Lint source code | |
run: bundle exec rake lint:code | |
- | |
name: Lint tests source code | |
run: bundle exec rake lint:tests |