From 06db42129c87f0a5bb8b42e754d5af982d0e86b8 Mon Sep 17 00:00:00 2001 From: Thomas Camlong Date: Wed, 15 Jul 2026 15:47:11 +0200 Subject: [PATCH] fix(ci): remove coverage step, fix auto-fix to format all affected workspaces --- .github/workflows/autofix.yml | 5 +++++ .github/workflows/ci.yml | 16 ++++++---------- 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/autofix.yml b/.github/workflows/autofix.yml index 9d54d9669..a692fac06 100644 --- a/.github/workflows/autofix.yml +++ b/.github/workflows/autofix.yml @@ -41,6 +41,11 @@ jobs: xargs -r -a /tmp/changed-files pnpm exec oxlint --fix || true xargs -r -a /tmp/changed-files pnpm exec oxfmt --write + - name: Format all files in affected workspaces + if: steps.changed.outputs.count != '0' + run: | + pnpm turbo run format --continue + - name: Commit fixes uses: stefanzweifel/git-auto-commit-action@v7 with: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f62afeb28..a4e35e5a3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: TURBO_PLATFORM: linux/amd64 steps: - uses: actions/checkout@v7 - if: '!env.ACT' + if: "!env.ACT" with: fetch-depth: 0 persist-credentials: false @@ -93,10 +93,6 @@ jobs: - name: Run unit tests run: pnpm test - - name: Report coverage - if: always() && !env.ACT - uses: davelosert/vitest-coverage-report-action@v2 - container: name: Container, E2E, and memory needs: fast-gate @@ -111,7 +107,7 @@ jobs: packages: write steps: - uses: actions/checkout@v7 - if: '!env.ACT' + if: "!env.ACT" with: persist-credentials: false ref: ${{ github.event_name == 'workflow_dispatch' && inputs.ref || '' }} @@ -120,11 +116,11 @@ jobs: uses: ./tooling/github/setup - name: Set up Docker Buildx - if: '!env.ACT' + if: "!env.ACT" uses: docker/setup-buildx-action@v4 - name: Build container once - if: '!env.ACT' + if: "!env.ACT" uses: docker/build-push-action@v7 with: context: . @@ -165,7 +161,7 @@ jobs: --tag homarr-ci --tag homarr-e2e "${secret_args[@]}" . - name: Cache Playwright browsers - if: '!env.ACT' + if: "!env.ACT" id: playwright-cache uses: actions/cache@v6 with: @@ -316,7 +312,7 @@ jobs: run: test -n "$PR_NUMBER" || { echo "pr_number is required for cleanup"; exit 1; } - name: Delete GHCR package version - if: '!env.ACT' + if: "!env.ACT" uses: actions/github-script@v8 with: script: |