Fix YAML indentation in Advanced Usage workflow examples

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

@ -172,7 +172,7 @@ steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: 'path/to/go.mod' # Read Go version from a file go.mod
go-version-file: 'path/to/go.mod' # Read Go version from go.mod
- run: go version
```
@ -189,7 +189,7 @@ steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: '.go-version' # Read Go version from a file .go-version
go-version-file: '.go-version' # Read Go version from .go-version
- run: go version
```
@ -198,7 +198,7 @@ steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: '.tool-versions' # Read Go version from a file .tool-versions
go-version-file: '.tool-versions' # Read Go version from .tool-versions
- run: go version
```
@ -207,7 +207,7 @@ steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version-file: 'go.work' # Read Go version from a file go.work file
go-version-file: 'go.work' # Read Go version from go.work
- run: go version
```
@ -306,7 +306,7 @@ steps:
- uses: actions/checkout@v6
- uses: actions/setup-go@v6
with:
go-version: "1.25"
go-version: '1.25'
cache-dependency-path: |
go.sum
**/*.go

Loading…
Cancel
Save