diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 8a67a095ec9..c208d9a4171 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -187,7 +187,7 @@ jobs: - name: Install rust toolchain uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: nightly-2021-03-30 override: true default: true - name: Check formatting diff --git a/admin/fmt b/admin/fmt index 396077c4524..940d6cafc9a 100755 --- a/admin/fmt +++ b/admin/fmt @@ -4,7 +4,13 @@ set -xe ADMIN=$(dirname "$0") PREV=$(pwd) if [ ! -d $ADMIN/rustfmt ] ; then - git clone --depth 1 https://github.com/rust-lang/rustfmt $ADMIN/rustfmt + COMMIT=8829e455b722f1ba8ade915ad2687639a2abb2c3 + cd $ADMIN + git init rustfmt + cd rustfmt + git fetch --depth=1 https://github.com/rust-lang/rustfmt $COMMIT + git checkout $COMMIT + cd ../.. fi if [ ! -x $ADMIN/rustfmt/target/release/cargo-fmt ] ; then pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy