Add semgrep #103
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: Specs | |
on: [pull_request] | |
jobs: | |
appraisal: | |
name: appraisal | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu] | |
# We cannot add ruby 3.0 until Rails 5.2 is dropped. | |
# https://github.com/rails/rails/issues/41074#issuecomment-759188945 | |
ruby: ["2.7"] # , 3.0, 3.1 | |
steps: | |
- name: Check out code. | |
uses: actions/checkout@v1 | |
- uses: ruby/setup-ruby@d01c52ad8bb5e96ea744946c5283be6a168feece # v1.540.0 | |
with: | |
ruby-version: ${{ matrix.ruby }} | |
- run: bundle check || bundle install | |
- run: ./bundle_install_each_appraisal.sh | |
- name: appraisal | |
run: bundle exec appraisal rspec |