Skip to content

Commit

Permalink
gh-action: run vet, nilaway immediately after build
Browse files Browse the repository at this point in the history
  • Loading branch information
ignoramous committed Nov 22, 2023
1 parent c45eddb commit fa71eb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
- name: Build
run: |
./make-aar
go vet ./...
go install go.uber.org/nilaway/cmd/nilaway@latest
nilway ./...
shell: bash

- name: Test
Expand All @@ -28,12 +31,6 @@ jobs:
# go test -v -race -bench=. -benchtime=100ms ./...
echo "::notice::success"
- name: Static check
run: |
go vet ./...
go install go.uber.org/nilaway/cmd/nilaway@latest
nilway ./...
# github.com/actions/upload-artifact
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand Down
1 change: 1 addition & 0 deletions make-aar
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export GO_COMPILED="$GOPATH/bin"
export PATH="$GO_LANG:$GO_COMPILED:$PATH"

# go debug
go version
go env

# checkout tagged branch?
Expand Down

0 comments on commit fa71eb4

Please sign in to comment.