From 460328e7d925fd90aa9d54dd37e377acdb3b7496 Mon Sep 17 00:00:00 2001 From: Adam Mika Date: Fri, 1 Dec 2023 16:17:03 -0700 Subject: [PATCH] just go back to regular rustfmt, no comment --- .github/workflows/ci.yml | 38 +++++++++++++++++++++----------------- 1 file changed, 21 insertions(+), 17 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fb94bfda..d8f0057c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,29 +12,33 @@ env: CARGO_TERM_COLOR: always jobs: - # test: - # name: cargo test - # strategy: - # matrix: - # os: [ ubuntu-latest, macos-latest, windows-latest ] - # rust: [stable, nightly] - # runs-on: ${{ matrix.os }} - # steps: - # - uses: actions/checkout@v4 - # - name: Set up Rust - # uses: dtolnay/rust-toolchain@stable - # with: - # toolchain: ${{ matrix.rust }} - # - name: Test - # run: cargo test --workspace + test: + name: cargo test + strategy: + matrix: + os: [ ubuntu-latest, macos-latest, windows-latest ] + rust: [stable, nightly] + runs-on: ${{ matrix.os }} + steps: + - uses: actions/checkout@v4 + - name: Set up Rust + uses: actions-rust-lang/setup-rust-toolchain@v1 + with: + toolchain: ${{ matrix.rust }} + - name: Test + run: cargo test --workspace format: name: cargo fmt runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - uses: actions/checkout@v4 - name: Setup Rustfmt - uses: dtolnay/rust-toolchain@stable + uses: actions-rust-lang/setup-rust-toolchain@v1 with: toolchain: stable components: rustfmt - - uses: clechasseur/rs-fmt-check@v2 + - name: Rustfmt Check + id: rustfmt-check + uses: actions-rust-lang/rustfmt@v1