Add Go modules example

This commit is contained in:
CrazyMax 2019-10-31 17:25:35 +01:00
parent 6be35d19ef
commit 6abec973f5
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -95,4 +95,15 @@ uses: actions/cache@preview
key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }}
restore-keys: |
${{ runner.os }}-gem-
```
```
## Go - Modules
```yaml
- uses: actions/cache@preview
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
```