ci: cache dependencies.
Some checks failed
Gitea Actions Demo / build (push) Failing after 5m7s
Gitea Actions Demo / docker (push) Has been skipped

This commit is contained in:
Ivan Li 2023-05-21 23:20:59 +08:00
parent 38dab1df02
commit 6e29c71b68

View File

@ -8,6 +8,11 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Set up Go Environment
uses: actions/setup-go@v3
with:
go-version: '1.20'
- name: Get Dependencies Index Hash - name: Get Dependencies Index Hash
uses: actions/go-hashfiles@v0.0.1 uses: actions/go-hashfiles@v0.0.1
id: hash-dependencies-index id: hash-dependencies-index