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