diff --git a/.github/workflows/go-build-deploy.yml b/.github/workflows/go-build-deploy.yml index f52bfe0b..21c3ca69 100644 --- a/.github/workflows/go-build-deploy.yml +++ b/.github/workflows/go-build-deploy.yml @@ -17,10 +17,19 @@ jobs: - uses: actions/setup-go@v6 with: go-version: '1.25' + cache: true - name: Build run: go build ./... + - name: Restore build cache + uses: actions/cache@v4 + with: + path: build + key: site-build-${{ hashFiles('content/**', 'templates/**', 'static/**') }} + restore-keys: | + site-build- + - name: Run run: ./debugjois.dev build