-
Notifications
You must be signed in to change notification settings - Fork 400
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: Improve build workflow, include linting.
- Adds a linting step to the build workflow to check for code quality.
- Loading branch information
1 parent
be3327c
commit 34603da
Showing
2 changed files
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,12 +17,15 @@ jobs: | |
go-version: '1.20' | ||
- name: download dependencies | ||
run: make bootstrap | ||
- name: run unit tests | ||
run: make test | ||
|
||
- name: lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: run unit tests | ||
run: make test | ||
|
||
|
||
|
||
- name: build binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,13 +23,16 @@ jobs: | |
go-version: '1.20' | ||
- name: download dependencies | ||
run: make bootstrap | ||
- name: run unit tests | ||
run: make test | ||
|
||
- name: lint | ||
uses: golangci/[email protected] | ||
with: | ||
version: latest | ||
|
||
- name: run unit tests | ||
run: make test | ||
|
||
|
||
|
||
- name: build binaries | ||
run: make build-cross | ||
|