From 9ee9dc2f76e6565ed6281509c004aaf9f02eaf54 Mon Sep 17 00:00:00 2001 From: Matthieu Pizenberg Date: Fri, 1 Dec 2023 21:13:05 +0100 Subject: [PATCH] Update check_formatting ci job --- .github/workflows/ci.yml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aba6531b..395d27d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,16 +64,11 @@ jobs: name: Source code is formatted runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Install stable Rust - uses: actions-rs/toolchain@v1 + - uses: actions/checkout@v4 + - uses: dtolnay/rust-toolchain@stable with: - toolchain: stable - profile: minimal components: rustfmt - - - name: Check formatting - run: cargo fmt --all -- --check + - run: cargo fmt --all -- --check check_documentation: name: Documentation builds successfully