From 1c317e3f34e28ff54715571066a6c838445a2182 Mon Sep 17 00:00:00 2001 From: minhtrannhat Date: Sat, 4 May 2024 11:41:22 -0400 Subject: [PATCH] fix(ci-cd): cache on failure - use a different toolchain setup --- .github/workflows/ci.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b47c97e..0f0b59b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,9 +20,11 @@ jobs: ports: - 5432:5432 steps: - - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@stable + - uses: actions/checkout@v4 + - run: rustup toolchain install stable --profile minimal - uses: Swatinem/rust-cache@v2 + with: + cache-on-failure: "" - name: Migrate database run: | sudo apt-get install libpq-dev -y