From 55358c5669a8ab4bd55a31c5627aab762f3aa8cb Mon Sep 17 00:00:00 2001 From: ozkanonur Date: Wed, 8 Mar 2023 16:47:10 +0300 Subject: [PATCH] save Signed-off-by: ozkanonur --- .github/workflows/check_fmt_lint.yml | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/check_fmt_lint.yml b/.github/workflows/check_fmt_lint.yml index 999312cb16c..36e7f372c0a 100644 --- a/.github/workflows/check_fmt_lint.yml +++ b/.github/workflows/check_fmt_lint.yml @@ -10,8 +10,8 @@ on: - dev jobs: - check: - timeout-minutes: 7 + fmt: + timeout-minutes: 15 runs-on: ${{ matrix.os }} strategy: matrix: @@ -24,13 +24,15 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true + components: rustfmt - uses: actions-rs/cargo@v1 with: - command: check + command: fmt + args: --all -- --check - fmt: - needs: check - timeout-minutes: 7 + check: + needs: fmt + timeout-minutes: 15 runs-on: ${{ matrix.os }} strategy: matrix: @@ -43,15 +45,13 @@ jobs: profile: minimal toolchain: ${{ matrix.rust }} override: true - components: rustfmt - uses: actions-rs/cargo@v1 with: - command: fmt - args: --all -- --check + command: check lint: needs: fmt - timeout-minutes: 7 + timeout-minutes: 15 runs-on: ${{ matrix.os }} strategy: matrix: