From 284a8aaabfc750539d25b127cd167bb54e6b8e6a Mon Sep 17 00:00:00 2001 From: fox0 <15684995+fox0@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:49:57 +0700 Subject: [PATCH 1/2] Add fmt check in CI --- .github/workflows/TestingCI.yml | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/.github/workflows/TestingCI.yml b/.github/workflows/TestingCI.yml index 88aeee17..68311d29 100644 --- a/.github/workflows/TestingCI.yml +++ b/.github/workflows/TestingCI.yml @@ -9,20 +9,21 @@ env: jobs: linux-ubuntu: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Fetch - run: cargo fetch - - name: Build - run: cargo build --release --verbose - - name: Run tests - run: cargo test --release --verbose + - uses: actions/checkout@v4 + - name: Fetch + run: cargo fetch + - name: Build + run: cargo build --release --verbose + - name: Run tests + run: cargo test --release --verbose + - name: Run fmt check + run: cargo fmt --all -- --check +# - name: Run clippy check +# run: cargo clippy --all-features -- -D warnings macos-homebrew: - runs-on: macos-latest steps: - uses: actions/checkout@v4 @@ -46,4 +47,3 @@ jobs: run: cargo build --release --verbose - name: Run tests run: cargo test --release --verbose - From 6bc1478ea65af9b75564a5591fe2fa4349048bd2 Mon Sep 17 00:00:00 2001 From: fox0 <15684995+fox0@users.noreply.github.com> Date: Tue, 24 Sep 2024 22:15:25 +0700 Subject: [PATCH 2/2] CI: Delete the commented --- .github/workflows/TestingCI.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/TestingCI.yml b/.github/workflows/TestingCI.yml index 68311d29..ad4ccb58 100644 --- a/.github/workflows/TestingCI.yml +++ b/.github/workflows/TestingCI.yml @@ -20,8 +20,6 @@ jobs: run: cargo test --release --verbose - name: Run fmt check run: cargo fmt --all -- --check -# - name: Run clippy check -# run: cargo clippy --all-features -- -D warnings macos-homebrew: runs-on: macos-latest