From 5b552506726eb213caa71d78d42ca4e501eb21d9 Mon Sep 17 00:00:00 2001 From: "David E. Wheeler" Date: Thu, 4 Apr 2024 14:41:38 -0400 Subject: [PATCH] Fullpath to .pgrx --- .github/workflows/lint-and-test.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 03f328e..65ba264 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -15,9 +15,9 @@ jobs: - name: Setup Rust Toolchain uses: dtolnay/rust-toolchain@stable with: { components: "rustfmt, clippy" } - - name: Setup Cache + - name: Setup Rust Cache uses: Swatinem/rust-cache@v2 - with: { cache-directories: ~/.pgrx } + with: { cache-directories: /home/runner/.pgrx } - name: Install Postgres run: sudo ./.ci/apt-install-postgres ${{ env.PGVERSION }} - name: Install pgrx @@ -34,17 +34,17 @@ jobs: strategy: matrix: pg: [11, 12, 13, 14, 15, 16] - os: [[🐧, Ubuntu]] # , [🍎, macOS], [🪟, Windows]] + os: [[🐧, Ubuntu]] # [🍎, macOS], [🪟, Windows]] name: 🐘 Postgres ${{ matrix.pg }} on ${{ matrix.os[0] }} ${{ matrix.os[1] }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Setup Rust Toolchain uses: dtolnay/rust-toolchain@stable - name: Install Postgres ${{ matrix.pg }} run: sudo ./.ci/apt-install-postgres ${{ matrix.pg }} - name: Setup Rust Cache uses: Swatinem/rust-cache@v2 - with: { cache-directories: ~/.pgrx } + with: { cache-directories: /home/runner/.pgrx } - run: env - name: Install pgrx run: cargo install cargo-pgrx --locked --version "$(perl -ne 'print $1 if /^pgrx\s+=\s"=?([^"]+)/' Cargo.toml)"