Skip to content

Commit

Permalink
Update go.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lejianwen authored Sep 21, 2024
1 parent 6a7be3e commit 593eeb3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ jobs:
uses: actions/setup-go@v4
with:
go-version: '1.22'

- name: mod tidy
run: go mod tidy
- name: Build
run: go build -v -o release/apimain cmd/apimain.go

- name: Test
run: go test -v -o release/apimain cmd/apimain.go
run: go test -v cmd/apimain.go

0 comments on commit 593eeb3

Please sign in to comment.