From 56e900e9dc30f30827d85f9e44ec0d52baa7baf7 Mon Sep 17 00:00:00 2001 From: Shivam Date: Tue, 7 Feb 2023 17:01:47 +0100 Subject: [PATCH] Bump checkout and cache to v3 & add notice about cargo Consider replacing the cargo action because of https://github.com/actions-rs/cargo/issues/216 --- .github/workflows/build.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d440c60..53d35ae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,5 +1,7 @@ on: push: + paths-ignore: + - 'README.md' release: types: [published] @@ -19,9 +21,9 @@ jobs: rust: [stable] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.cargo/bin/ @@ -35,6 +37,7 @@ jobs: target/ key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} + # Consider replacing because of https://github.com/actions-rs/cargo/issues/216 - uses: actions-rs/cargo@v1 with: command: build