Bump citizensadvice/build-and-push-action from be6164e42eb03fee4e31e49b0e202a77d164d6d5 to f75961b74f734f04e11b573306120c084ee9c941 #100
Workflow file for this run
This file contains hidden or 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: Build and test | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| - "[0-9]*" | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Git Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd | |
| - name: Build | |
| run: | | |
| docker build -t postcoder . | |
| - name: Lint | |
| run: | | |
| docker compose run --rm app bundle exec rubocop | |
| - name: Test | |
| run: | | |
| docker compose run -e APP_ENV=test --rm app bundle exec rspec |