Skip to content

add bundle-audit to gemfile #12

add bundle-audit to gemfile

add bundle-audit to gemfile #12

Workflow file for this run

name: Ruby CI
on:
pull_request:
push:
branches:
- main
jobs:
rubocop:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: "3.2.1"
bundler-cache: true
- run: bundle exec rubocop
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
ruby: ["2.7.7", "3.2.1"]
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Bundle audit
run: bundle exec bundle-audit --update
- name: Install dependencies
run: bundle install
- name: Run tests
run: bundle exec rake test