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 fec11f9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
name: Go

on:
pull_request:
push:
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 fec11f9

Please sign in to comment.