Skip to content

Commit

Permalink
Add Go modules example (#18)
Browse files Browse the repository at this point in the history
* Add Go modules example

* Fix TOC
  • Loading branch information
CrazyMax authored and Josh Gross committed Nov 1, 2019
1 parent 25e0c8f commit 87c0185
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- [Swift, Objective-C - Carthage](#swift-objective-c---carthage)
- [Swift, Objective-C - CocoaPods](#swift-objective-c---cocoapods)
- [Ruby - Gem](#ruby---gem)
- [Go - Modules](#go---modules)

## Node - npm

Expand Down Expand Up @@ -95,4 +96,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-
```

0 comments on commit 87c0185

Please sign in to comment.