From 33f8b770ba123e754139309d2866175a4430590e Mon Sep 17 00:00:00 2001 From: tottoto Date: Thu, 8 May 2025 22:08:09 +0900 Subject: [PATCH] chore(ci): Set RUSTFLAGS only on check job --- .github/workflows/CI.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index fd3339629..17842e131 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,9 +11,6 @@ concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true -env: - RUSTFLAGS: "-D warnings" - jobs: rustfmt: @@ -69,6 +66,8 @@ jobs: strategy: matrix: os: [ubuntu-latest, macOS-latest, windows-latest] + env: + RUSTFLAGS: "-D warnings" steps: - uses: actions/checkout@v4 - uses: hecrj/setup-rust-action@v2