-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Sean McGinnis <[email protected]>
- Loading branch information
1 parent
bc31b7b
commit cc3f727
Showing
2 changed files
with
41 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 |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Checks | ||
on: | ||
pull_request: | ||
branches: | ||
- master | ||
push: | ||
branches: | ||
- master | ||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
# Get the code | ||
- uses: actions/checkout@v2 | ||
|
||
# Setup our go environment | ||
- name: Setup Go | ||
uses: actions/setup-go@v2 | ||
with: | ||
go-version: '1.15.0' | ||
|
||
# Install extra dependencies | ||
- name: Install dependencies | ||
run: | | ||
go version | ||
go get -u golang.org/x/lint/golint | ||
# Build the code | ||
- name: Run build | ||
run: go build . | ||
|
||
# Vet and lint | ||
- name: Run vet & lint | ||
run: | | ||
go vet . | ||
golint . | ||
# Run unit tests | ||
- name: Run tests | ||
run: make test |
This file was deleted.
Oops, something went wrong.