Skip to content

Commit

Permalink
Fix Go workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sj14 committed Apr 22, 2023
1 parent e0839de commit 1b095fa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ name: Go
on:
pull_request:
paths:
- go.sum
- go.mod
- "**.go"

- .github/workflows/go.yml
jobs:
build:
name: Test
Expand All @@ -13,14 +15,14 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v3
with:
go-version: "^1.19"
go-version: "^1.20"
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v ./cmd/dbbench/...
run: go build -v ./cmd/decode/main.go
- name: Test
run: go test -race ./...
- name: Run golangci-lint
Expand Down

0 comments on commit 1b095fa

Please sign in to comment.