1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

16 Commits

Author SHA1 Message Date
Chris Cummer
65aa2c9877 Fix golangci-lint.yaml
Signed-off-by: Chris Cummer <chriscummer@me.com>
2021-04-13 04:20:35 -07:00
Christian Clauss
a85e61f5f9
Upgrade golangci to v1.39 (#1074) 2021-04-11 13:21:58 -07:00
Lukas Kämmerling
f844ff3afb
Update to Go 1.16 (#1064)
This commit updates the used Go version to 1.16. The biggest benefit from this is that with Go 1.16 (and the latest Goreleaser) support for Apple Silicon is available, therefore wtf would work on Apple Silicon.

Signed-off-by: Lukas Kämmerling <lukas.kaemmerling@hetzner-cloud.de>
2021-03-19 21:45:23 -07:00
Chris Cummer
15769f21d0
WTF-1057 Use long-form git SHA in staticcheck github action (#1058)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2021-03-01 08:55:08 -08:00
Chris Cummer
c41411b97e Fix the goreleaser action 'on' clause
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-06 11:38:15 -08:00
Chris Cummer
56469d8db3
Add goreleaser github action (#1035)
Creates a new release when a new tag is pushed up to GitHub.

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-12-06 11:36:32 -08:00
Chris Cummer
a18f77bfad
Back onto grandcolline/golang-github-actions (#1030)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-11-26 21:06:11 -08:00
Chris Cummer
b527d9c4da
Update golang-github-actions to use go 1.15.2 (#998)
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-10-11 16:18:19 -07:00
Chris Cummer
3fd813cd9c Schedule code analysis on Wed and Sat
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-07-01 07:31:24 -07:00
Chris Cummer
898fc6d34a
Create codeql-analysis.yml 2020-06-25 08:46:28 -07:00
Chris Cummer
6e79c55583 Add back the args value to the golangci-lint action
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-05-23 11:41:22 -07:00
Chris Cummer
0911402926 Update golangci action
Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-05-23 11:12:11 -07:00
Sam Roberts
4bb725db9e golangci-lint configuration file
golangci-lint can run all the currently enabled linters, and as far as I
can tell, does it in under 5 seconds as opposed to over 180 seconds
(compare `time make cilint` and `time make lint`).

Some of the linters that are listed in the "enabled" section but
commented out looked like a good idea to me, and fairly low hanging
fruit to fix, but they are not passing at the moment.

All the linters covered in the current Makefile are run.

TODO:
- replace lint target in Makefile with golangci-lint
- remove .github/workflow/errcheck.yml
2020-05-16 12:34:57 -07:00
Chris Cummer
f0ca3b8a58
Another actions test (#889)
* Another actions test

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Add BuildTest action

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Remove lint check for the time being (so many issues)

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Fix issues found by errcheck

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Fix errors found by staticcheck

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Fix issues found by goimports

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Comment out the  action for the time being

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Fix shadowed variables

Signed-off-by: Chris Cummer <chriscummer@me.com>

* go mod tidy

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Remove buildtest.yml

Signed-off-by: Chris Cummer <chriscummer@me.com>

* go mod tidy

Signed-off-by: Chris Cummer <chriscummer@me.com>
2020-05-09 12:51:08 -07:00
Chris Cummer
04ff03ab1c
Testing (#794)
* Testing

Signed-off-by: Chris Cummer <chriscummer@me.com>

* Well, that was enlightening

Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-16 20:55:42 -08:00
Chris Cummer
35a8b0e1b5 Things work better when you spell them correctly
Signed-off-by: Chris Cummer <chriscummer@me.com>
2019-12-16 20:38:57 -08:00