diff --git a/examples.md b/examples.md index 91f71b5..f816952 100644 --- a/examples.md +++ b/examples.md @@ -95,4 +95,15 @@ uses: actions/cache@preview key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} restore-keys: | ${{ runner.os }}-gem- -``` \ No newline at end of file +``` + +## Go - Modules + +```yaml +- uses: actions/cache@preview + with: + path: ~/go/pkg/mod + key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} + restore-keys: | + ${{ runner.os }}-go- +```