Добавлено кэширование библиотек
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 35s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 35s
This commit is contained in:
@@ -21,12 +21,15 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
go-version-file: 'go.mod'
|
go-version-file: 'go.mod'
|
||||||
|
|
||||||
- name: Show Go environment
|
- name: Cache Go modules
|
||||||
run: |
|
uses: actions/cache@v3
|
||||||
echo "🔧 Go environment:"
|
with:
|
||||||
go version
|
path: |
|
||||||
go env GOPROXY
|
~/.cache/go-build
|
||||||
go env GOMODCACHE
|
~/go/pkg/mod
|
||||||
|
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||||
|
restore-keys: |
|
||||||
|
${{ runner.os }}-go-
|
||||||
|
|
||||||
- name: Download dependencies
|
- name: Download dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
Reference in New Issue
Block a user