From 8e3a19c94fd31007959121fbd303fbf4b412860e Mon Sep 17 00:00:00 2001 From: zihang Date: Tue, 3 Dec 2024 17:37:05 +0800 Subject: [PATCH] fix(ci): move deny-warn --- .github/workflows/next-check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/next-check.yml b/.github/workflows/next-check.yml index 897d5d8a..74cca79d 100644 --- a/.github/workflows/next-check.yml +++ b/.github/workflows/next-check.yml @@ -50,7 +50,7 @@ jobs: for dir in next/sources/*; do if [ -d "$dir" ]; then echo "Processing $dir" - if ! (cd "$dir" && moon install && moon check --target ${{ matrix.backend }} && moon test --target ${{ matrix.backend }}) --deny-warn; then + if ! (cd "$dir" && moon install && moon check --deny-warn --target ${{ matrix.backend }} && moon test --target ${{ matrix.backend }}); then echo "Failed in $dir" failed_directories+=("$dir") fi @@ -78,7 +78,7 @@ jobs: Get-ChildItem -Path ".\legacy\examples" -Directory | ForEach-Object { Write-Output "Processing $($_.FullName)" Set-Location $_.FullName - moon install && moon check --target ${{ matrix.backend }} && moon test --target ${{ matrix.backend }} --deny-warn + moon install && moon check --deny-warn --target ${{ matrix.backend }} && moon test --target ${{ matrix.backend }} if (!$?) { Write-Output "Failed in $($_.FullName)" $failed_directories += $_.FullName