Skip to content

Commit

Permalink
chore(ci): cache build output (#96)
Browse files Browse the repository at this point in the history
* chore(ci): cache build output

Signed-off-by: Michael Crenshaw <[email protected]>

whitespace change

Signed-off-by: Michael Crenshaw <[email protected]>

go change

Signed-off-by: Michael Crenshaw <[email protected]>

bump cache action version

Signed-off-by: Michael Crenshaw <[email protected]>

revert whitespace change

Signed-off-by: Michael Crenshaw <[email protected]>

revert temporary change, also hash go.sum

Signed-off-by: Michael Crenshaw <[email protected]>

* fix silliness

Signed-off-by: Michael Crenshaw <[email protected]>

---------

Signed-off-by: Michael Crenshaw <[email protected]>
  • Loading branch information
crenshaw-dev authored Nov 2, 2024
1 parent 499f39d commit 1f43d36
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ jobs:
go-version: "1.22"
- name: Get dependencies
run: go mod download
- name: Restore build output from cache
id: cache-build
uses: actions/cache@v4
with:
path: bin/manager
key: ${{ runner.os }}-go-build-${{ hashFiles('**/*.go', 'go.sum') }}
- name: Build
if: steps.cache-build.outputs.cache-hit != 'true'
run: make
- name: Run Unit-Tests
run: make test-parallel
Expand Down

0 comments on commit 1f43d36

Please sign in to comment.