diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 925a15d..4325252 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -13,12 +13,12 @@ jobs: pre-commit: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v6 - name: Set PY run: | echo "PY=$(python -c 'import hashlib,sys;print(hashlib.sha256(sys.version.encode()+sys.executable.encode()).hexdigest())')" >> $GITHUB_ENV - - uses: actions/cache@v1 + - uses: actions/cache@v4 with: path: ~/.cache/pre-commit key: pre-commit|${{ env.PY }}|${{ hashFiles('.pre-commit-config.yaml') }} @@ -31,6 +31,7 @@ jobs: fail-fast: false matrix: pg_version: + - "17" - "16" - "15" - "14" @@ -41,14 +42,14 @@ jobs: - "9.6" env: # Indicates what's the equivalent to tecnativa/postgres-autoconf:latest image - LATEST_RELEASE: "16-alpine" + LATEST_RELEASE: "17-alpine" DOCKER_REPO: tecnativa/postgres-autoconf DOCKER_TAG: ${{ matrix.pg_version }}-alpine GIT_SHA1: ${{ github.sha }} IS_PR: ${{ github.event_name == 'pull_request' }} steps: - - uses: actions/checkout@v2 - - uses: actions/setup-python@v1 + - uses: actions/checkout@v4 + - uses: actions/setup-python@v6 - run: pip install -r tests/ci-requirements.txt # Build images