Improve workflow

This commit is contained in:
2023-04-15 20:20:44 +03:00
parent 4e728ed4f5
commit a1a29d4314

View File

@@ -20,15 +20,15 @@ jobs:
- name: Checkout code
uses: https://github.com/actions/checkout@v3
- name: go mod package cache
uses: https://github.com/actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
# - name: go mod package cache
# uses: https://github.com/actions/cache@v3
# with:
# path: |
# ~/.cache/go-build
# ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-
- name: Tests
run: go test ./...