Revert "ci: add scan to github action"
This reverts commit 25d2aed54f9b32467f0cf1842294d7deb50bceb6.
This commit is contained in:
35
.github/workflows/tests.yml
vendored
35
.github/workflows/tests.yml
vendored
@@ -29,17 +29,13 @@ jobs:
|
|||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-gradle-
|
${{ runner.os }}-gradle-
|
||||||
|
|
||||||
- name: Build (without tests & lint)
|
- name: Build
|
||||||
run: ./gradlew build --scan -x test -x ktlintKotlinScriptCheck -x ktlintTestSourceSetCheck -x ktlintMainSourceSetCheck | tee build.log
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
- name: Show Build Scan URL
|
arguments: build -x test -x ktlintKotlinScriptCheck -x ktlintTestSourceSetCheck -x ktlintMainSourceSetCheck
|
||||||
run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' build.log
|
|
||||||
|
|
||||||
- name: processResources
|
- name: processResources
|
||||||
run: ./gradlew processResources --scan | tee resources.log
|
run: ./gradlew processResources
|
||||||
|
|
||||||
- name: Show Resource Scan URL
|
|
||||||
run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' resources.log
|
|
||||||
|
|
||||||
- name: Upload build artifacts
|
- name: Upload build artifacts
|
||||||
uses: actions/upload-artifact@v4
|
uses: actions/upload-artifact@v4
|
||||||
@@ -67,16 +63,14 @@ jobs:
|
|||||||
path: build/
|
path: build/
|
||||||
|
|
||||||
- name: Compose Up
|
- name: Compose Up
|
||||||
run: ./gradlew composeUp --scan | tee compose.log
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
- name: Show Compose Scan URL
|
arguments: composeUp
|
||||||
run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' compose.log
|
|
||||||
|
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: ./gradlew test --scan | tee test.log
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
- name: Show Test Scan URL
|
arguments: test
|
||||||
run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' test.log
|
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
needs: build
|
needs: build
|
||||||
@@ -98,7 +92,6 @@ jobs:
|
|||||||
path: build/
|
path: build/
|
||||||
|
|
||||||
- name: Run linter
|
- name: Run linter
|
||||||
run: ./gradlew ktlintCheck --scan | tee lint.log
|
uses: gradle/gradle-build-action@v2
|
||||||
|
with:
|
||||||
- name: Show Lint Scan URL
|
arguments: ktlintCheck
|
||||||
run: grep -Eo 'https://scans.gradle.com/s/[a-zA-Z0-9]+' lint.log
|
|
||||||
Reference in New Issue
Block a user