Skip to content

armgit / fider

Public Imported from GitHub
0

Open platform to collect and prioritize feedback

Update golint-ci

Matt Roberts10ec8e381cdd
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 618e4d05e..954c9d9a6 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -59,7 +59,7 @@ jobs:
node-version: 22.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.51.0
+ run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1
- name: install godotenv
run: go install github.com/joho/godotenv/cmd/godotenv
- run: make lint-server
@@ -84,6 +84,8 @@ jobs:
echo sha7=${GITHUB_SHA::7}
id: vars
+
+
- run: docker build -t fider-image .
- run: mkdir -p ./out
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 39f89154d..3a2a569d9 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.
diff --git a/go.mod b/go.mod
index 1595cafb2..7f545033b 100644
--- a/go.mod
+++ b/go.mod
@@ -10,7 +10,7 @@ require (
github.com/goenning/imagic v0.0.1
github.com/goenning/letteravatar v0.0.0-20180605200324-553181ed4055
github.com/golang-jwt/jwt/v4 v4.1.0
- github.com/golangci/golangci-lint v1.51.0
+ github.com/golangci/golangci-lint v1.59.1
github.com/gomarkdown/markdown v0.0.0-20220527210340-c82b80a9daf2
github.com/gosimple/slug v1.11.0
github.com/gotnospirit/messageformat v0.0.0-20190719172517-c1d0bdacdea2