11 Commits

Author SHA1 Message Date
Nicholas Wiersma
d932d50232 chore: lint code with golangci-lint (#1828)
* feat: add golangci-lint linting

* chore: fix linter issues

* feat: add linting into the workflow

* docs: update lint docs

* fix: cr suggestions

* fix: remove old formatting and vetting scripts

* fix: add docker make target

* fix: action go caching

* fix: depreciated actions checkout version

* fix: cr suggestion

* fix: cr suggestions

---------

Co-authored-by: Manu Gupta <manugupt1@gmail.com>
2023-02-24 20:39:17 -08:00
Rob Lee
567c939ac4 Finish Removing golint (#1746)
* Set GO111MODULE to auto in golint script– #1743

As mentioned in #1743 the Go modules environment flag is set to `off`
in the script which appears to cause a warning message for each module
of the codebase that it is "not in GOROOT".

Set to `auto` as this allows the same build to be run the original way
should someone choose to delete the `go.mod` file from the project root.

* Remove redundant code – golint script

Go 1.17 ignores `GO111MODULE` and there are no directories in the
project root called `mock`.

* Replace `golint` with `go vet`

`golint` is deprecated (and frozen) replace with the current `go vet`.
This reported one issue on `main` branch:
```pkg/stash/with_etcd.go:33:28:
loop variable ep captured by func literal```

Fixed loop variable capture with extraction to parameterised anonymous
function passed loop variable and passed in to `errgroup.Go` call.

* Finish Removing `golint`

Removed remaining references to `golint` in dev doc, Makefile,
bash scripts, and powershell build scripts.
Removed `get_dev_tools.sh` and `get_dev_tools.ps1` as they only install
the removed `golint` package.
2021-12-11 11:09:03 -05:00
Scott Lee
3f2c99f6a2 #1149 Remove references to Buffalo (#1203)
* #1149 Remove references to Buffalo

* #1149 Add Makefile
2019-04-30 09:59:52 -04:00
Marwan Sulaiman
5b1cd25d22 CI/CD: replace buffalo build with go build (#1016) 2018-12-26 19:52:59 -05:00
Carolyn Van Slyck
bee463053a Rename docker image (#909)
* Rename docker image to gomods/athens

* Bump chart version to match new release version

* Switch from stable tag to latest tag

Our docs used latest, and it's awkard when you don't have a latest tag anyway
2018-11-12 15:15:58 -06:00
Tomasz Tomalak
117698d62e Remove redis initialization from init.ps1 file (#818) 2018-10-24 21:59:55 +02:00
Marwan Sulaiman
83281a80fb Proxy remove assets and config scripts (#693)
* Proxy remove assets and config scripts

* update olympus dockerfile - tho its outdated anyway
2018-09-21 16:31:47 -04:00
Marwan Sulaiman
28839219a8 Remove olympus references in scripts (#679)
* Remove olympus references in scripts

* remove some more
2018-09-19 02:42:49 -04:00
marpio
f25c427239 Fix for Windows 10 (#648)
* ps: add cdefault conf

* init - add config

* add required env vars for win10

* update test_e2e.ps1 to use go build -mod=vendor
2018-09-13 13:57:37 -07:00
lpdyck
c4417371ef Fix powershell scripts (#615)
* add check_deps.ps1

* fix check_gofmt select-string regex pattern

* capitalize JoinPath

* fix typo

* fail check_deps.ps1 on error
2018-09-01 11:59:55 +02:00
marpio
fa16c6950b Powershell scripts (#525)
* port scripts to ps

* remove ps core features

* init script

* make it work on ps 5.0

* sync with make file

* cleanup

* cleanup

* review feedback

* newline
2018-08-24 19:44:36 +02:00