mirror of
https://github.com/axllent/mailpit.git
synced 2025-01-08 00:39:22 +02:00
Add test cache
This commit is contained in:
parent
00d254d7c4
commit
8d308a6776
14
.github/workflows/test.yml
vendored
14
.github/workflows/test.yml
vendored
@ -17,13 +17,13 @@ jobs:
|
||||
go-version: ${{ matrix.go-version }}
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
with:
|
||||
path: |
|
||||
~/.cache/go-build
|
||||
~/go
|
||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-go-
|
||||
- run: go test ./storage -v
|
||||
- run: go test ./storage -bench=.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user