mirror of https://github.com/dapr/go-sdk.git
Lint on push (#59)
* clean example log entries * adds lint to test on push * adds lint to release on tag
This commit is contained in:
parent
bfa8a82cad
commit
3acd5aa729
|
@ -30,6 +30,11 @@ jobs:
|
|||
- name: Test
|
||||
run: go test -v -count=1 -race ./...
|
||||
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
with:
|
||||
version: v1.30
|
||||
|
||||
- name: Version
|
||||
id: get_version
|
||||
run: echo ::set-env name=RELEASE_VERSION::$(echo ${GITHUB_REF:10})
|
||||
|
|
|
@ -27,5 +27,10 @@ jobs:
|
|||
|
||||
- name: Test
|
||||
run: go test -v -count=1 -race ./...
|
||||
|
||||
- name: Lint
|
||||
uses: golangci/golangci-lint-action@v1
|
||||
with:
|
||||
version: v1.30
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue