Skip to content

Commit

Permalink
Merge pull request #632 from Smolevich/small-improvements
Browse files Browse the repository at this point in the history
Small improvements
  • Loading branch information
umputun committed Apr 13, 2020
2 parents dba77d4 + 6b2bc11 commit a15acaf
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/ci-test-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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}}

Expand All @@ -52,15 +46,14 @@ 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
go test -race ./...
$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
Expand Down

0 comments on commit a15acaf

Please sign in to comment.