Merge pull request #632 from Smolevich/small-improvements

Small improvements
This commit is contained in:
Umputun
2020-04-13 02:38:20 -05:00
committed by GitHub
+2 -9
View File
@@ -8,13 +8,11 @@ on:
- '.github/workflows/ci-test-backend.yml'
- 'backend/**'
- '!backend/scripts/**'
- '.golangci.yml'
pull_request:
paths:
- '.github/workflows/ci-test-backend.yml'
- 'backend/**'
- '!backend/scripts/**'
- '.golangci.yml'
jobs:
backend:
@@ -24,11 +22,7 @@ jobs:
- uses: actions/checkout@v2
- name: debug if needed
run: |
export DEBUG=${DEBUG:-false}
if [[ "$DEBUG" == "true" ]]; then
env
fi
run: if [[ "$DEBUG" == "true" ]]; then env; fi
env:
DEBUG: ${{secrets.DEBUG}}
@@ -52,7 +46,7 @@ jobs:
GOFLAGS: "-mod=vendor"
TZ: "America/Chicago"
- name: tast and lint examples
- name: test and lint examples
run: |
go version
$GITHUB_WORKSPACE/golangci-lint version
@@ -60,7 +54,6 @@ jobs:
$GITHUB_WORKSPACE/golangci-lint --config ${GITHUB_WORKSPACE}/backend/.golangci.yml run ./...
working-directory: backend/_example/memory_store
env:
# GOFLAGS: "-mod=mod"
TZ: "America/Chicago"
- name: submit coverage