fix workflow?

This commit is contained in:
Braydon 2023-08-06 01:32:17 -04:00
parent 3a150afa71
commit 02bbd21ab9

@ -1,5 +1,5 @@
name: checks
on:
on:
- push
- pull_request
@ -17,20 +17,20 @@ jobs:
id: cache-go-path
uses: https://github.com/actions/cache@v3
with:
path: /go_path
path: $HOME/go_path
key: go_path-${{ github.repository }}-${{ github.ref_name }}
restore-keys: |
go_path-${{ github.repository }}-
go_path-
go_path-
- name: cache go cache
id: cache-go-cache
uses: https://github.com/actions/cache@v3
with:
path: /go_cache
path: $HOME/go_cache
key: go_cache-${{ github.repository }}-${{ github.ref_name }}
restore-keys: |
go_cache-${{ github.repository }}-
go_cache-
go_cache-
- uses: actions/setup-go@v3
with:
go-version: 1.20
@ -40,4 +40,4 @@ jobs:
- name: vet
run: go vet
- name: test
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...
run: go test -v -race -coverprofile=coverage.txt -covermode=atomic ./...