27 Commits

Author SHA1 Message Date
Tam Mach
8084559c42
Tag nancy version to v0.3 (#1321)
This is suggested by nancy team to avoid coming breaking change

Relates: #1320
2020-08-19 10:41:33 +10:00
Tam Mach
18fd36bdd1
build(golang1.15): Upgrade to golang 1.15 for smaller binary (#1303)
Golang 1.15 comes to few improvements, one of them is to have smaller
binary.

This PR is to make golang 1.15 as default version in CI, I also update
Docker based image to golang:1.15* as well.

Two issues faced with golang 1.15:
- Conflict between -v in `golangci-lint` and `go test`. Update to --verbose
to avoid the same. [1]
- `nolintlint_unused.go` testdata is not matching regex. Correct by adding one
space after //

[1]: https://github.com/golang/go/issues/40763

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-08-19 09:05:32 +10:00
Sergey Vilgelm
703f2affbc
Add tests-on-macos to cover all main platforms (#1279) 2020-08-04 21:34:32 +03:00
Sergey Vilgelm
ba997c5710
Use the latest version of golangci-lint in action (#1280) 2020-08-02 14:08:47 -05:00
Sergey Vilgelm
862ed88cf0
Run nancy validation for all dependencies (#1243)
* Run nancy validation for all dependencies

* Update pr-extra.yml

Use `-json` flag
2020-07-16 17:14:12 -05:00
dependabot[bot]
4f26f11ea3
build(deps): bump golangci/golangci-lint-action from v1.2.2 to v2 (#1247)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v1.2.2 to v2.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v1.2.2...c238b72278d97934fd2cb007b97162d5b44757df)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-07-15 14:08:51 -05:00
Sergey Vilgelm
27a97ae49a
Update golangci-lint-action to use v1.2.2 (#1238) 2020-07-12 12:39:44 -05:00
Sergey Vilgelm
d287af010a
Explicitly pass GITHUB_TOKEN env to goreleaser action (#1215)
* Explicitly pass GITHUB_TOKEN env to goreleaser action
* Update the goreleaser-action and setup-go actions to v2
2020-07-08 11:02:59 +10:00
Tam Mach
afa9be632b
Use latest golangci-lint to lint golangci-lint (#1206)
Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-07-05 18:21:44 +10:00
Denis Isaev
156eaaa963
dev: update github action config (#1158) 2020-05-23 02:05:52 +03:00
Denis Isaev
810c194dc7
dev: disable mac os build because of timeouts 2020-05-17 21:47:30 +03:00
Denis Isaev
429176412b dev: replace actions/first-interaction with app 2020-05-17 12:31:03 +03:00
Denis Isaev
84892fc15f docs: add contributing quick start 2020-05-17 10:49:51 +03:00
Isaev Denis
b49d2df623
dev: use fast_check_generated in CI (#1104) 2020-05-17 00:08:16 +03:00
Denis Isaev
bc24805f9d dev: welcome first-time contributors 2020-05-16 23:57:14 +03:00
Isaev Denis
7a4daa5347
dev: use golangci/golangci-lint-action@v1 (#1097) 2020-05-16 17:34:42 +03:00
Denis Isaev
206d79fb21 dev: use golangci/golangci-lint-action@v0.2.0 2020-05-09 16:45:26 +03:00
Isaev Denis
55cd9f78a1
dev: generate assets/github-action-config.json (#1073)
It will be used by GitHub action `golangci-lint-action`.

Relates: golangci/golangci-lint-action#11
2020-05-09 15:30:54 +03:00
Isaev Denis
cb58d1f82e
speed up CI and golangci-lint (#1070)
Run CI on mac os only with go1.13 and on windows only on go1.14.
Speed up tests. Introduce --allow-parallel-runners.
Block on parallel run lock 5s instead of 60s.
Don't invalidate analysis cache for minor config changes.
2020-05-09 15:15:34 +03:00
Denis Isaev
4eaf056399 dev: fix golangci-lint-action version 2020-05-07 15:58:10 +03:00
Denis Isaev
f59ce4c86e dev: use GITHUB_TOKEN instead of GOLANGCI_LINT_TOKEN 2020-05-07 15:48:51 +03:00
Isaev Denis
38782dd097
dev: use golangci-lint action (#1066) 2020-05-05 17:51:55 +03:00
Aleksandr Razumov
908d91b088
dev: update cache key 2020-05-04 15:42:36 +03:00
Aleksandr Razumov
04f51a5cf4
dev: use setup-go@v2 and mod cache 2020-05-04 15:17:49 +03:00
Aleksandr Razumov
3e55c710d4
dev: remove go 1.12 from workflow 2020-05-04 15:15:54 +03:00
Denis Krivak
403c2022fc Add unshallow to CI 2020-05-04 14:27:18 +03:00
iwankgb
77e211ba75
Replacing Travis with Github actions (#1056)
Signed-off-by: Maciej "Iwan" Iwanowski <maciej.iwanowski@critical.today>
2020-05-03 15:17:41 +03:00