Bump sidekiq from 7.1.2 to 7.1.3 #556
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: | |
branches: [master, main] | |
pull_request: | |
branches: [master, main] | |
jobs: | |
security_checks: | |
name: Security Checks | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install ruby and bundled gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Install gems | |
run: gem install brakeman bundler-audit | |
- name: Run bundle-audit | |
run: bundle-audit check --update | |
- name: Run brakeman | |
run: brakeman --no-pager --github-repo maxfierke/resumis | |
rspec: | |
name: Rspec | |
runs-on: ubuntu-latest | |
needs: [security_checks] | |
env: | |
# I heard you like postgres, so we put some postgres, etc. etc. | |
DATABASE_URL: postgres://postgres:postgres@localhost:5432/resumis_test | |
RAILS_ENV: test | |
services: | |
postgres: | |
image: postgres:14 | |
ports: | |
- 5432:5432 | |
env: | |
POSTGRES_USER: postgres | |
POSTGRES_PASSWORD: postgres | |
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install PG dependencies | |
run: sudo apt-get install libpq-dev | |
- name: Install node and npm packages | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
- name: Install ruby and bundled gems | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Precompile assets | |
env: | |
SECRET_KEY_BASE: IGNORE_ME_I_AM_A_BAD_KEY_BASE | |
run: bundle exec rake assets:precompile | |
- name: Setup test database | |
run: bundle exec rake db:setup | |
- name: Run rspec | |
run: bundle exec rake spec |