Skip to content

Commit

Permalink
Use a separate cache for the job that builds static kittens
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Aug 16, 2023
1 parent ebbb8e4 commit d006ba5
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,17 @@ jobs:
uses: actions/setup-go@v4
with:
go-version-file: go.mod
cache: false

- name: Cache Go build artifacts separately
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-golang-static-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-golang-static-
- name: Install build-only deps
run: python -m pip install -r docs/requirements.txt ruff mypy types-requests types-docutils
Expand Down

0 comments on commit d006ba5

Please sign in to comment.