diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b2684f4..9f907d6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,21 +8,18 @@ on: schedule: - cron: '00 01 * * *' jobs: - fmt_check: + rustfmt: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - + - name: Checkout repository + uses: actions/checkout@v4 - name: Install Rust - uses: actions-rs/toolchain@v1 + uses: dtolnay/rust-toolchain@master with: toolchain: stable - profile: minimal - override: true components: rustfmt - - - name: Check Formatting - run: cargo +stable fmt --all -- --check + - name: Check formatting + run: rm rust-toolchain.toml .cargo/config.toml && cargo fmt --all --check test: name: test