Migrate to github #8
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| lint: | |
| name: Rubocop | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Ruby einrichten | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4.9" | |
| bundler-cache: true | |
| - name: Lint | |
| run: bundle exec rubocop | |
| test: | |
| name: Tests | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Ruby einrichten | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.4.9" | |
| bundler-cache: true | |
| - name: Tests ausführen | |
| run: bundle exec rake test |