From 17978ad115b847a8e1ee60f1fe622313c01badce Mon Sep 17 00:00:00 2001 From: Yuki Okushi Date: Mon, 24 Apr 2023 05:53:40 +0900 Subject: [PATCH] Refine GHA workflows (#619) --- .github/workflows/clippy-fmt.yml | 7 ++++--- .github/workflows/linux.yml | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/clippy-fmt.yml b/.github/workflows/clippy-fmt.yml index a1122fd3..02644eda 100644 --- a/.github/workflows/clippy-fmt.yml +++ b/.github/workflows/clippy-fmt.yml @@ -48,8 +48,9 @@ jobs: # DATABASE_URL="sqlite://./todo.db" sqlx migrate run - name: clippy - uses: actions-rs/clippy-check@v1 timeout-minutes: 30 + uses: giraffate/clippy-action@v1 with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --workspace --all-features --tests + reporter: 'github-pr-check' + github_token: ${{ secrets.GITHUB_TOKEN }} + clippy_flags: --workspace --all-features --tests diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index 364dc4fc..9974115c 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -48,7 +48,7 @@ jobs: timeout-minutes: 30 - name: Start Redis - uses: supercharge/redis-github-action@1.1.0 + uses: supercharge/redis-github-action@1.5.0 with: { redis-version: 6 } - name: cargo test