1
0
Fork 0
mirror of https://github.com/actions/setup-go synced 2024-12-22 22:32:42 +00:00

remove a sample with text file

This commit is contained in:
Sergey Dolin 2023-08-30 16:22:09 +02:00
parent 1ac9d654af
commit ff99eca7af

View file

@ -234,17 +234,6 @@ including the source code files into `cache-dependency-path` input.
- run: go run hello.go
```
But more practically to manage the cache with the text file manually updated according to the amount
of changes made in the repo.
```yaml
- uses: actions/setup-go@v4
with:
go-version: '1.17'
cache-dependency-path: go.sum cache-version.txt
- run: go run hello.go
```
### Caching with actions/cache
The caching capabilities of the action are limited for the simplest builds and can be ineffective in the real world
use cases. If the build requires fine-grained turning the built-in caching should be disabled and