From f388e15356e2324845f9b6e3b5bd6d6d9c782a88 Mon Sep 17 00:00:00 2001 From: Philipp Schulte Date: Wed, 15 Oct 2025 13:53:33 -0400 Subject: [PATCH] ci(golangci-latest): download config artifact to fix typecheck errors --- .github/workflows/pr_test.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/pr_test.yml b/.github/workflows/pr_test.yml index 9fb36c2c5..4b0790933 100644 --- a/.github/workflows/pr_test.yml +++ b/.github/workflows/pr_test.yml @@ -127,11 +127,22 @@ jobs: for dockerFile in Dockerfile*; do docker build -f $dockerFile . ; done golangci-latest: name: lint-latest (informational) + needs: [config] runs-on: ubuntu-latest continue-on-error: true steps: - name: Checkout code uses: actions/checkout@v5 + with: + fetch-depth: 0 + - name: Download config artifact + uses: actions/download-artifact@v4 + with: + name: config-artifact-${{ github.sha }} + path: pkg/config + - name: Verify embedded config exists + run: | + test -f pkg/config/config.toml || { echo "missing pkg/config/config.toml"; ls -la pkg/config; exit 1; } - name: Setup Go uses: actions/setup-go@v6 with: