feat: added reject option for schedule jobs #54
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: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Ruby | |
| uses: ruby/setup-ruby@v1 | |
| with: | |
| ruby-version: "3.2" | |
| bundler-cache: false | |
| - name: Install dependencies | |
| run: | | |
| gem install bundler -v '2.4.22' | |
| bundle config set --local path 'vendor/bundle' | |
| bundle config set --local frozen 'false' | |
| bundle install | |
| - name: Run RuboCop | |
| run: bundle exec rubocop --parallel | |
| # - name: Run RSpec | |
| # run: bundle exec rspec |