Skip to content

Commit

Permalink
add go cache to v3 branch to make it available to child branch (#1309)
Browse files Browse the repository at this point in the history
* add go cache to v3 branch to make it available to child branch

* add new line

* fix pr comments
  • Loading branch information
SimoneDutto authored Aug 8, 2024
1 parent 11898d6 commit 3176bde
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/cache.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Cache on default branch
on: push

jobs:
go_cache:
name: Install And Cache Go Dependencies and Build Artifacts
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-tags: true
fetch-depth: 0

- name: Setup Go
uses: actions/setup-go@v4
with:
go-version-file: 'go.mod'

- name: Build
run: go build ./...

0 comments on commit 3176bde

Please sign in to comment.