mirror of
https://github.com/Mrs4s/go-cqhttp.git
synced 2025-05-05 03:23:49 +08:00
增加依赖缓存
This commit is contained in:
parent
8bfbfc04f3
commit
a894ee91bc
8
.github/workflows/suggester.yml
vendored
8
.github/workflows/suggester.yml
vendored
@ -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 ./...)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user