Bump sidekiq from 7.3.5 to 7.3.6 #13430
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
ruby: [3.1] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 100 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- name: Build the docker-compose stack | |
run: docker compose up -d | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
bundler-cache: true | |
- name: Run Danger | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: bundle exec danger | |
- name: Lint with RuboCop | |
run: bundle exec rubocop --parallel | |
- name: Run Brakeman | |
run: bundle exec brakeman -A --no-pager | |
- name: Get yarn cache | |
id: yarn-cache | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/cache@v4 | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install Node modules | |
run: yarn install | |
- name: Lint with Eslint | |
run: yarn run lint | |
- name: Lint with Stylelint | |
run: yarn run lint-css | |
- name: Run ERBLint | |
run: bundle exec erblint . | |
- name: Run Tests | |
env: | |
RAILS_ENV: test | |
run: | | |
bundle exec rails db:create db:schema:load | |
bundle exec rails test | |
bundle exec rails test:system |