From 311f58702967404de77da9c235648c536308a72c Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Fri, 11 Apr 2025 00:19:58 +0200 Subject: [PATCH] Revert "ci: fix scan github action" This reverts commit abb642087430df8e260a7ef2ee77f780aa1ecccc. --- .github/workflows/tests.yml | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 48884e0..8ceba5b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -33,15 +33,13 @@ jobs: run: ./gradlew build --scan -x test -x ktlintKotlinScriptCheck -x ktlintTestSourceSetCheck -x ktlintMainSourceSetCheck | tee build.log - name: Show Build Scan URL - run: | - grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' build.log || echo "No build scan URL found." + run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' build.log - name: processResources run: ./gradlew processResources --scan | tee resources.log - name: Show Resource Scan URL - run: | - grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' resources.log || echo "No resource scan URL found." + run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' resources.log - name: Upload build artifacts uses: actions/upload-artifact@v4 @@ -72,15 +70,13 @@ jobs: run: ./gradlew composeUp --scan | tee compose.log - name: Show Compose Scan URL - run: | - grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' compose.log || echo "No compose scan URL found." + run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' compose.log - name: Run tests run: ./gradlew test --scan | tee test.log - name: Show Test Scan URL - run: | - grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' test.log || echo "No test scan URL found." + run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' test.log lint: needs: build @@ -105,5 +101,4 @@ jobs: run: ./gradlew ktlintCheck --scan | tee lint.log - name: Show Lint Scan URL - run: | - grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' lint.log || echo "No lint scan URL found." + run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' lint.log