Skip to content

Merge pull request #17 from tj-actions/fix/error-with-tests #134

Merge pull request #17 from tj-actions/fix/error-with-tests

Merge pull request #17 from tj-actions/fix/error-with-tests #134

Workflow file for this run

name: CI
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
shellcheck:
name: Run shellcheck
runs-on: ubuntu-latest
steps:
- name: Checkout to branch
uses: actions/checkout@v4
- name: shellcheck
uses: reviewdog/[email protected]
test:
name: Test setup-postgresql
runs-on: ${{ matrix.platform }}
concurrency: ${{ matrix.platform }}-${{ matrix.postgresql_version }}-${{ github.ref }}
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest, windows-latest]
postgresql_version: [11, 12, 14, 15]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run setup-postgresql
uses: ./
with:
postgresql-version: ${{ matrix.postgresql_version }}
- name: Verify PostgreSQL
run: |
pg_dump --version
psql --version
pg_restore --version