ci: bump runner to ubuntu 22.04 as 20.04 is out of support #776
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: tests | |
| on: | |
| pull_request: | |
| push: { branches: [master] } | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| name: Run tests | |
| strategy: | |
| matrix: | |
| postgres: [14, 15, 16, 17] | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Build docker images | |
| run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml build | |
| - name: Run tests | |
| run: PG_VERSION=${{ matrix.postgres }} docker compose -f .ci/docker-compose.yml run test |