Skip to content

Commit

Permalink
linting: remove old travis config & make steps (hashicorp#9273)
Browse files Browse the repository at this point in the history
  • Loading branch information
katbyte authored Nov 11, 2020
1 parent de1b8a8 commit 390d787
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 79 deletions.
39 changes: 0 additions & 39 deletions .golangci-travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ issues:
linters:
disable-all: true
enable:
- asciicheck
- deadcode
- errcheck
- gocritic
Expand Down
9 changes: 0 additions & 9 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,6 @@ goimports:
lint:
./scripts/run-lint.sh

# we have split off static check because it causes travis to fail with an OOM error
lintunused:
@echo "==> Checking source code against static check linters..."
(while true; do sleep 300; echo "(I'm still alive and linting!)"; done) & PID=$$!; echo $$PID; \
golangci-lint run ./... -v --no-config --concurrency 1 --deadline=30m10s --disable-all --enable=unused; ES=$$?; kill -9 $$PID; exit $$ES

lintrest:
./scripts/run-lint-rest.sh

depscheck:
@echo "==> Checking source code with go mod tidy..."
@go mod tidy
Expand Down
27 changes: 0 additions & 27 deletions scripts/run-lint-rest.sh

This file was deleted.

6 changes: 2 additions & 4 deletions version/version.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
package version

var (
// ProviderVersion is set during the release process to the release version of the binary
ProviderVersion = "dev"
)
// ProviderVersion is set during the release process to the release version of the binary
var ProviderVersion = "dev"

0 comments on commit 390d787

Please sign in to comment.