Skip to content

Move .gitattributes to root #65

Move .gitattributes to root

Move .gitattributes to root #65

Workflow file for this run

name: CI
on:
push
concurrency:
group: ${{ github.ref == 'refs/heads/main' && format('ci-main-{0}', github.sha) || format('ci-{0}', github.ref) }}
cancel-in-progress: true
jobs:
validate:
name: "🦺 Validation"
uses: TWiStErRob/github-workflows/.github/workflows/validate.yml@19333c04e57739ec6074b09c6ca09c225c94dc09 # v1
build:
name: "🔨 Build & Verify"
runs-on: ubuntu-latest
timeout-minutes: 10
needs:
- validate
permissions:
# EnricoMi/publish-unit-test-result-action
checks: write
steps:
- name: "Checkout ${{ github.ref }} branch in ${{ github.repository }} repository."
uses: actions/checkout@v4
- name: "Build & Verify project using Gradle."
id: gradle
run: >
./gradlew
--no-daemon
--no-build-cache
--stacktrace
--continue
-Pnet.twisterrob.detekt.build.compile-test-snippets=true
build
detektMain
detektTest
- name: "Upload 'Unit Test Results' artifact."
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: 'Unit Test Results'
path: ${{ github.workspace }}/**/build/reports/tests/*/
- name: "Publish 'Unit Results' check suite."
if: success() || failure()
uses: EnricoMi/publish-unit-test-result-action@v2
with:
check_name: '🔔 Test: Unit Results'
comment_mode: off
report_individual_runs: true
test_changes_limit: 0
junit_files: ${{ github.workspace }}/**/build/test-results/*/TEST-*.xml
- name: "Upload 'Detekt Results' artifact."
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: 'Detekt Results'
path: |
${{ github.workspace }}/**/build/reports/detekt/detekt.*