1
0
mirror of https://github.com/Mrs4s/go-cqhttp.git synced 2025-05-04 19:17:37 +08:00

增加依赖缓存

This commit is contained in:
umia 2021-07-03 20:04:12 +08:00 committed by GitHub
parent a894ee91bc
commit 5d00bd134d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -19,6 +19,14 @@ jobs:
with: with:
version: latest version: latest
- name: Cache downloaded module
uses: actions/cache@v2
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ matrix.goos }}-${{ matrix.goarch }}-${{ hashFiles('**/go.sum') }}
- name: Tests - name: Tests
run: | run: |
go test $(go list ./...) go test $(go list ./...)