1
0
mirror of https://github.com/axllent/mailpit.git synced 2025-08-15 20:13:16 +02:00

Add test cache

This commit is contained in:
Ralph Slooten
2022-07-30 23:53:55 +12:00
parent 72709acb90
commit d15b3eb05e

View File

@@ -17,13 +17,13 @@ jobs:
go-version: ${{ matrix.go-version }} go-version: ${{ matrix.go-version }}
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/cache@v3 - uses: actions/cache@v3
with: with:
path: | path: |
~/.cache/go-build ~/.cache/go-build
~/go ~/go
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }} key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: | restore-keys: |
${{ runner.os }}-go- ${{ runner.os }}-go-
- run: go test ./storage -v - run: go test ./storage -v
- run: go test ./storage -bench=. - run: go test ./storage -bench=.