Skip to content

Commit

Permalink
increase timeout golang linter
Browse files Browse the repository at this point in the history
  • Loading branch information
arminc committed May 23, 2020
1 parent cf36ba9 commit 9e7b8d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,12 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v2

- name: Install golangci-lint
run: ls -la

- name: Install golangci-lint
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.27.0

- name: Run test steps
run: ./test.sh -d

- name: Install golangci-lint
run: ls -la

# - name: Upload coverage to Codecov
# uses: codecov/codecov-action@v1
# with:
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fi

if [[ ${LINTER} == true || ${RUNALL} == true ]]; then
echo "Run golangci-lint"
golangci-lint run
golangci-lint run --timeout 3m
fi

if [[ ${TESTS} == true || ${RUNALL} == true ]]; then
Expand Down

0 comments on commit 9e7b8d6

Please sign in to comment.