Skip to content

Commit

Permalink
Fix/mod cache action (#1310)
Browse files Browse the repository at this point in the history
* fix go build and enable go cache action on v3 and feature branches
  • Loading branch information
SimoneDutto committed Aug 8, 2024
1 parent 3176bde commit 8706de4
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/cache.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
name: Cache on default branch
on: push
on:
push:
branches:
- v3
- "feature*"

jobs:
go_cache:
Expand All @@ -18,5 +22,11 @@ jobs:
with:
go-version-file: 'go.mod'

- name: Add volume files
run: |
touch ./local/vault/approle.json
touch ./local/vault/roleid.txt
touch ./local/vault/vault.env
- name: Build
run: go build ./...

0 comments on commit 8706de4

Please sign in to comment.