🚨 [security] Update puma 5.6.4 → 6.4.3 (major) #447
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: Docker | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
linters: | |
name: Docker Linters | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup docker | |
run: | | |
bin/docker-setup | |
- name: Run linters and security checks | |
continue-on-error: true | |
run: bin/docker-quality | |
tests: | |
name: Docker Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup docker | |
run: | | |
bin/docker-setup | |
docker-compose up --detach | |
- name: Run tests | |
continue-on-error: true | |
run: | | |
export RAILS_ENV=test | |
docker-compose up --detach | |
docker-compose exec -T app rails db:create db:schema:load | |
DONT_GENERATE_REPORT=true CI= DISABLE_SPRING=true docker-compose exec -T app bin/tests ${@:-spec} | |
docker-compose stop | |
- name: Stop containers | |
run: docker-compose down |