chore(deps): update postgres #404
Workflow file for this run
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: Pull Request | |
on: | |
pull_request: | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Hadolint | |
run: docker compose run --rm hadolint Dockerfile | |
if: always() | |
- name: Shellcheck | |
run: find tools -type f -not -iname '*.sql' | xargs docker compose run --rm shellcheck | |
if: always() | |
- name: Argbash | |
run: | | |
docker compose run --rm argbash | |
git diff --exit-code | |
if: always() | |
build-test: | |
strategy: | |
matrix: | |
pg: [12, 13, 14, 14-invoker, 15, 16] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4.2.2 | |
- name: Build | |
uses: docker/build-push-action@v6.9.0 | |
with: | |
build-args: PG_MAJOR=${{ matrix.pg }} | |
- name: Build Test | |
uses: docker/build-push-action@v6.9.0 | |
with: | |
build-args: PG_MAJOR=${{ matrix.pg }} | |
target: test | |
- name: Test | |
run: DOCKER_BUILDKIT=1 docker compose run --rm bats test |