Merge pull request #279 from kufu/dependabot/bundler/sidekiq-7.3.7 #511
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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
rspec: | |
runs-on: ubuntu-latest | |
env: | |
SLACK_TOKEN: "DUMMY" | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.2' | |
bundler-cache: true | |
- name: Install dependencies | |
run: bundle install | |
- name: Build and test | |
run: bundle exec rspec | |
rubocop: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.3.2' | |
bundler-cache: true | |
- name: Run rubocop | |
run: bundle exec rubocop |