Skip to content

Commit

Permalink
chore: add fmt check in action
Browse files Browse the repository at this point in the history
  • Loading branch information
mxab committed Feb 25, 2023
1 parent df923f7 commit ff782bd
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,9 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: "^1.20"
- name: Install dependencies
run: go get -v ./...
- name: "Check format"
run: "test -z $(gofmt -l .)"
- name: Build
run: go build -v ./...

- name: Test
run: go test -coverage -v ./...

0 comments on commit ff782bd

Please sign in to comment.