ci: add gofmt step to github workflow
This commit is contained in:
parent
7499e83492
commit
89dd7221ab
1 changed files with 5 additions and 4 deletions
|
|
@ -1,4 +1,4 @@
|
|||
name: build
|
||||
name: ci
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
|
|
@ -10,7 +10,8 @@ jobs:
|
|||
- name: Setup Go
|
||||
uses: actions/setup-go@v2
|
||||
with:
|
||||
go-version: '^1.16'
|
||||
go-version: '^1.17'
|
||||
- name: Format
|
||||
run: go fmt .
|
||||
- name: Build
|
||||
run: go build
|
||||
|
||||
run: go build .
|
||||
Loading…
Add table
Reference in a new issue