Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

perf(ci): sparse-checkout the hobby installer workflow (#88655)

posthog[bot]af68b7de8060
diff --git a/.github/workflows/ci-hobby-installer.yml b/.github/workflows/ci-hobby-installer.yml
index 5d41976248cd..8ebf186fdb80 100644
--- a/.github/workflows/ci-hobby-installer.yml
+++ b/.github/workflows/ci-hobby-installer.yml
@@ -21,16 +21,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: bin/hobby-installer
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.25.5'
+ cache-dependency-path: bin/hobby-installer/go.sum
- name: Run golangci-lint
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
with:
- version: latest
+ version: v2.13.1
working-directory: bin/hobby-installer
args: --timeout=5m
@@ -51,11 +54,14 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ sparse-checkout: bin/hobby-installer
- name: Set up Go
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: '1.25.5'
+ cache-dependency-path: bin/hobby-installer/go.sum
- name: Build
run: cd bin/hobby-installer && make build