mirror of
https://github.com/derfenix/webarchive.git
synced 2026-03-11 21:35:34 +03:00
Improve workflow
This commit is contained in:
18
.github/workflows/test.yaml
vendored
18
.github/workflows/test.yaml
vendored
@@ -20,15 +20,15 @@ jobs:
|
|||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
uses: https://github.com/actions/checkout@v3
|
uses: https://github.com/actions/checkout@v3
|
||||||
|
|
||||||
- name: go mod package cache
|
# - name: go mod package cache
|
||||||
uses: https://github.com/actions/cache@v3
|
# uses: https://github.com/actions/cache@v3
|
||||||
with:
|
# with:
|
||||||
path: |
|
# path: |
|
||||||
~/.cache/go-build
|
# ~/.cache/go-build
|
||||||
~/go/pkg/mod
|
# ~/go/pkg/mod
|
||||||
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
|
||||||
restore-keys: |
|
# restore-keys: |
|
||||||
${{ runner.os }}-go-
|
# ${{ runner.os }}-go-
|
||||||
|
|
||||||
- name: Tests
|
- name: Tests
|
||||||
run: go test ./...
|
run: go test ./...
|
||||||
|
|||||||
Reference in New Issue
Block a user