From 15c1fa2ffcc0f31fabcdcd90cde6a05b54baf8b5 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Sun, 18 Sep 2022 12:10:58 -0700 Subject: [PATCH] Catch upcoming deprecations --- .github/workflows/scheduled.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/scheduled.yml b/.github/workflows/scheduled.yml index bb39a22..20229ba 100644 --- a/.github/workflows/scheduled.yml +++ b/.github/workflows/scheduled.yml @@ -33,7 +33,7 @@ jobs: # https://twitter.com/alcuadrado/status/1571291687837732873 update: runs-on: ubuntu-latest - name: ubuntu / stable / updated + name: ubuntu / beta / updated # There's no point running this if no Cargo.lock was checked in in the # first place, since we'd just redo what happened in the regular test job. # Unfortunately, hashFiles only works in if on steps, so we reepeat it. @@ -42,12 +42,13 @@ jobs: - uses: actions/checkout@v3 with: submodules: true - - name: Install stable + - name: Install beta if: hashFiles('Cargo.lock') != '' uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: stable + toolchain: beta + default: true - name: cargo update if: hashFiles('Cargo.lock') != '' uses: actions-rs/cargo@v1 @@ -59,3 +60,5 @@ jobs: with: command: test args: --locked --all-features --all-targets + env: + RUSTFLAGS: -D deprecated