Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

tools: update to golangci-lint 1.45

goenning34b62097ae70
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index d1fc608ae..85b48ba8c 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -59,7 +59,7 @@ jobs:
node-version: 16.x
- run: npm ci # required for esbuild
- 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.44.0
+ run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.45.0
- name: install godotenv
run: go install github.com/joho/godotenv/cmd/godotenv
- run: make lint-server
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 8e4b25fba..f31d69a08 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -31,7 +31,7 @@ If you know these technologies or would like to learn them, lucky you! This is t
2. navigate into the cloned repository.
3. run `go install github.com/cosmtrek/air` to install air, a cli tool for live reload, when you change the code, it automatically recompiles the application.
4. run `go install github.com/joho/godotenv/cmd/godotenv` to install godotenv, a cli tool to load environment variables from a `.env` so that you don't have to change your machine environment variables.
-5. run `go install github.com/golangci/golangci-lint/cmd/[email protected]` to install golangci-lint, a linter for Go apps.
+5. run `go install github.com/golangci/golangci-lint/cmd/[email protected]` to install golangci-lint, a linter for Go apps.
6. run `npm install` to install client side packages.
7. run `docker-compose up -d` to start a local PostgreSQL database and Local SMTP (with [MailHog](https://github.com/mailhog/MailHog)) on Docker.
8. run `cp .example.env .env` to create a local environment configuration file.