Skip to content

Commit

Permalink
Update github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
wendy512 committed Oct 21, 2024
1 parent 8340d9f commit ff75024
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/go-full-test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Go Vet
name: Go Test

on:
push:
Expand All @@ -25,14 +25,12 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.19'
go-version: '1.20'

- name: Cache Go modules
uses: actions/cache@v3
with:
path: |
~/.cache/go-build
~/go/pkg/mod
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
Expand All @@ -44,9 +42,4 @@ jobs:
run: go build -v ./...

- name: Run tests
run: go test -v ./...

- name: Run lint
run: |
go install golang.org/x/lint/golint@latest
golint ./...
run: go test -v ./tests/...

0 comments on commit ff75024

Please sign in to comment.