Switch from contact:linkedin to linkedin #128
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: Test | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
ruby-version: '3.0' | |
bundler-cache: true | |
- name: Run rubocop | |
run: bundle exec rubocop --parallel -c .rubocop.yml | |
# - name: Run typecheck | |
# run: | | |
# bundle exec tapioca init && \ | |
# bundle exec rake rails_rbi:routes && \ | |
# bundle exec tapioca dsl && \ | |
# bundle exec srb typecheck -q | |
# - name: Run security checks | |
# run: | | |
# bin/bundler-audit --update | |
# bin/brakeman -q -w2 | |
- name: Run tests | |
run: bundle exec rake test | |
env: | |
DATABASE_URL: postgres://postgres:postgres@localhost:5432/api |