Fix YAML indentation in examples

pull/724/head
Priyagupta108 2 months ago
parent d71ed6b7c8
commit 54bc444409

@ -302,14 +302,15 @@ Besides dependencies, the action can also cache build outputs (the [`GOCACHE`](h
> **Note:** Including patterns like `**/*.go` can create new caches on many commits, increasing cache storage and potentially slowing workflows due to more frequent uploads/downloads. > **Note:** Including patterns like `**/*.go` can create new caches on many commits, increasing cache storage and potentially slowing workflows due to more frequent uploads/downloads.
```yaml ```yaml
- uses: actions/checkout@v6 steps:
- uses: actions/setup-go@v6 - uses: actions/checkout@v6
- uses: actions/setup-go@v6
with: with:
go-version: '1.25' go-version: "1.25"
cache-dependency-path: | cache-dependency-path: |
go.sum go.sum
**/*.go **/*.go
- run: go run hello.go - run: go run hello.go
``` ```
### Restore-only caches ### Restore-only caches

Loading…
Cancel
Save