46 Commits

Author SHA1 Message Date
dependabot[bot]
a333689090
build(deps): bump golangci/golangci-lint-action from 3.1.0 to 3.2.0 (#2858)
Some checks failed
Release a tag / release (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile.alpine]) (push) Has been cancelled
Release a tag / docker-release (map[Dockerfile:build/Dockerfile]) (push) Has been cancelled
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v3.1.0...v3.2.0)

---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-17 09:05:08 +03:00
dependabot[bot]
ff93f27157
build(deps): bump actions/setup-go from 2 to 3 (#2763)
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 2 to 3.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-12 10:05:52 +03:00
Ludovic Fernandez
bffc8cefe2
dev: remove some TODO (#2743)
* chore: use go1.18 to test the previous version of golangci-lint
* chore: update gomnd configuration
2022-04-03 18:49:27 +02:00
dependabot[bot]
da0a6b3b8a
build(deps): bump actions/cache from 2.1.7 to 3 (#2674)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.7 to 3.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.7...v3)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-22 09:12:32 +08:00
Ludovic Fernandez
0c0804c6a4
go1.18 support (#2438) 2022-03-18 14:58:24 +01:00
dependabot[bot]
93a0015cfc
build(deps): bump actions/checkout from 2 to 3 (#2643) 2022-03-07 23:30:46 +01:00
dependabot[bot]
0bcc0a3ba1
build(deps): bump golangci/golangci-lint-action from 2.5.2 to 3.1.0 (#2627)
Co-authored-by: Sergey Vilgelm <sergey@vilgelm.com>
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2022-03-01 11:57:10 +01:00
dependabot[bot]
ba3453d2a8
build(deps): bump actions/cache from 2.1.6 to 2.1.7 (#2383) 2021-11-30 01:42:20 +01:00
dependabot[bot]
4ce9a19e7d
build(deps): bump github.com/go-critic/go-critic from 0.5.6 to 0.6.0 (#2041)
Co-authored-by: Fernandez Ludovic <ldez@users.noreply.github.com>
2021-10-23 00:51:11 +02:00
Ludovic Fernandez
aff4fc0b8b
Update Go versions used by the CI (#2183) 2021-08-17 20:35:55 +02:00
dependabot[bot]
4c27b33c49
build(deps): bump actions/cache from 2.1.5 to 2.1.6 (#2023)
Bumps [actions/cache](https://github.com/actions/cache) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.5...v2.1.6)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 14:11:30 +08:00
Ludovic Fernandez
c610079e1d
feat: set the minimum Go version to go1.15 (#1926) 2021-05-01 12:12:39 +03:00
dependabot[bot]
53a4b41ff5
build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#1918)
Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5.
- [Release notes](https://github.com/actions/cache/releases)
- [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-19 07:54:18 +02:00
dependabot[bot]
0f3f9ef809
build(deps): bump github.com/mgechev/revive from 1.0.5 to 1.0.6 (#1908) 2021-04-12 10:27:47 +02:00
dependabot[bot]
c9ec73fdc3
build(deps): bump golangci/golangci-lint-action from v2.5.1 to v2.5.2 (#1889) 2021-04-05 11:52:02 +02:00
Ludovic Fernandez
a833cc1600
typecheck: improve error stack parsing. (#1886) 2021-04-04 10:55:39 +02:00
dependabot[bot]
067cfac3e8
build(deps): bump golangci/golangci-lint-action from v2.4.0 to v2.5.1 (#1798) 2021-03-01 10:09:40 +01:00
Ludovic Fernandez
123da8e6c7
Add go1.16 support (#1740) 2021-02-17 05:17:41 +01:00
dependabot[bot]
80ebe52462
build(deps): bump golangci/golangci-lint-action from v2.3.0 to v2.4.0 (#1735)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2.3.0 to v2.4.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.3.0...544d2efb307b3f205f34886f2787046abe7fb26e)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-02-15 07:48:18 +01:00
dependabot[bot]
7dc0f311bb
build(deps): bump actions/cache from v2 to v2.1.4 (#1721) 2021-02-08 10:08:55 +01:00
dependabot[bot]
f414375eb3
build(deps): bump golangci/golangci-lint-action from v2.2.1 to v2.3.0 (#1469)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2.2.1 to v2.3.0.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2.2.1...e868220d9fd3b523f1a8fcfb69749e8c7521ba14)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-26 16:53:22 +11:00
dependabot[bot]
b2c7c377fe
build(deps): bump golangci/golangci-lint-action from v2 to v2.2.1 (#1447)
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action) from v2 to v2.2.1.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases)
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v2...54a84d46fb7183443c869b1b7d0dc34f640fcfd7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-10-12 17:13:48 +11:00
Tam Mach
f1630736e0
ci(dep): Check only for go.mod file (#1397)
This commit is to update go-mod github action step to check for only
go.mod file. Ideally, both go.mod and go.sum should be checked, however,
the current behavior of `go mod tidy` command will not clean up old
entries in go.sum.

Additionally, dependentbot is currently failing as there is dirty change
in go.sum file.
2020-09-26 16:30:55 +10:00
Melvin
f6d7a75439
ci: prevent macos to be marked as passing upon failure (#1381) 2020-09-20 21:43:21 -07:00
Tam Mach
d4ebf99e5e
build(go): Check if go.mod and go.sum are up to dated (#1377)
This commit is to add job to check if go.mod and go.sum are up to
date.

Also add go.sum into .gitattributes so that it will be considered
as generated file in PR review.

Signed-off-by: Tam Mach <sayboras@yahoo.com>
2020-09-21 07:48:49 +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
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
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
Isaev Denis
b49d2df623
dev: use fast_check_generated in CI (#1104) 2020-05-17 00:08:16 +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