From fbd4e659dcf282485e85ed4a249fefb532b8a12b Mon Sep 17 00:00:00 2001 From: Not Jeremy Liu <31809888+NotJeremyLiu@users.noreply.github.com> Date: Tue, 6 Feb 2024 14:16:55 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=9A=20Update=20CI=20to=20use=20Stable?= =?UTF-8?q?=20Toolchain=20(#88)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update pr.yml * remove +nightly in the commands now that we're using stable --- .github/workflows/pr.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index fa24524e..e2e2f703 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -54,12 +54,12 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: nightly + toolchain: stable components: clippy - name: Run clippy # use nightly toolchain so that we get all the latest linter features - run: cargo +nightly clippy --tests -- -D warnings + run: cargo clippy --tests -- -D warnings format: name: Format @@ -71,12 +71,12 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: nightly + toolchain: stable components: rustfmt - name: Run format # use nightly toolchain so that we get all the latest formatting features - run: cargo +nightly fmt --check + run: cargo fmt --check schema: name: Schema @@ -88,12 +88,12 @@ jobs: - name: Install toolchain uses: dtolnay/rust-toolchain@stable with: - toolchain: nightly + toolchain: stable - name: Run schema diff check # use nightly toolchain so that we get all the latest formatting features run: | - cargo +nightly run --package skip-api-entry-point --bin schema + cargo run --package skip-api-entry-point --bin schema if [[ `git status --porcelain` ]]; then echo "Schema is different, please run make schema" exit 1