Skip to content

Commit

Permalink
build: install go tools and cache
Browse files Browse the repository at this point in the history
Signed-off-by: Lukas Zapletal <[email protected]>
  • Loading branch information
lzap authored and ezr-ondrej committed May 16, 2023
1 parent b1565ed commit 4e0290f
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/gotest.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: checks

on:
Expand Down Expand Up @@ -103,5 +104,15 @@ jobs:
- uses: actions/setup-go@v4
with:
go-version: ${{ env.GO_SVR }}
- run: |
- uses: actions/cache@v3
id: cache
with:
path: bin
key: bin-go${{ env.GO_SVR }}-tools-${{ hashFiles('mk/tools.mk') }}
- name: Install Go Tools
if: steps.cache.outputs.cache-hit != 'true'
run: make install-tools GO=go
- name: Generate and validate
run: |
touch config/_config.yaml
make check-system-go validate GO=go

0 comments on commit 4e0290f

Please sign in to comment.