Marten Seemann
3e0a67b247
ci: update golangci-lint to v1.62.0 ( #4725 )
2024-11-18 16:01:39 +01:00
Marten Seemann
d067fe4156
bump Go version in go.mod, stop testing on Go 1.21 ( #4633 )
...
* bump Go version in go.mod, stop testing on Go 1.21
* ci: update golangci-lint to v1.60.1
* ignore Go 1.23 0-RTT events in exhaustive linter
2024-08-17 00:30:03 -07:00
Marten Seemann
8a3d90fc22
ci: set timeout for jobs ( #4538 )
2024-05-28 22:08:50 -07:00
Marten Seemann
2ed1593b6e
ci: update golangci-lint-action to v6 and golangci-lint to v1.58.0 ( #4494 )
...
* ci: update golangci-lint-action to v6 and golangci-lint to v1.58.0
* use issues.exclude-files instead of run.skip-files
* rename vet to govet
2024-05-06 19:05:38 -07:00
dependabot[bot]
0d565fc384
ci: bump golangci/golangci-lint-action from 4 to 5 ( #4472 )
...
Bumps [golangci/golangci-lint-action](https://github.com/golangci/golangci-lint-action ) from 4 to 5.
- [Release notes](https://github.com/golangci/golangci-lint-action/releases )
- [Commits](https://github.com/golangci/golangci-lint-action/compare/v4...v5 )
---
updated-dependencies:
- dependency-name: golangci/golangci-lint-action
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>
2024-04-29 02:00:59 -07:00
Marten Seemann
0a7823c991
ci: update golangci-lint to v1.56.1 and golangci-lint action to v4 ( #4326 )
2024-02-10 17:46:27 -08:00
Marten Seemann
013949cda3
ci: update to Go 1.22.0 ( #4312 )
2024-02-07 18:15:56 -08:00
Marten Seemann
baeec0f41c
ci: update to Go 1.22rc2 ( #4267 )
2024-01-24 19:16:17 -08:00
Marten Seemann
d795250479
drop support for Go 1.20, build on Go 1.22rc1 on CI ( #4195 )
...
* drop support for Go 1.20
* ci: udpate CircleCI to Go 1.21
* qtls: remove unnecessary type aliases
* ci: build using Go 1.22rc1
2023-12-27 20:31:58 -08:00
Marten Seemann
048940927c
ci: update golangci-lint to v1.55.2 ( #4204 )
2023-12-13 04:02:06 -08:00
Marten Seemann
1bcec70978
ci: run linter on all supported Go versions ( #4126 )
2023-10-24 22:03:41 -07:00
Marten Seemann
22eac50276
ci: combine the go generate workflow with the linting workflow ( #4053 )
...
* ci: combine the go generate workflow with the linting workflow
* reorder
2023-09-15 09:56:20 -07:00
Marten Seemann
5b25d8b5be
ci: fail if any Go files contain an ignore directive ( #4055 )
2023-09-15 18:35:53 +07:00
Marten Seemann
591d864e5e
ci: update GitHub checkout and setup-go actions to v4 ( #4067 )
2023-09-05 03:47:05 -07:00
Marten Seemann
56432a8b79
ci: run linter on all supported platforms ( #3816 )
...
* only define packetInfo.ifIndex on platforms where it's actually used
* fix comment and stylecheck for IP_DONTFRAGMENT on Windows
* fix build flags on test file
* ci: run golangci-lint on multiple platforms
2023-06-02 23:47:05 -07:00
Marten Seemann
8507208665
ci: update golangci-lint config, increase timeout ( #3771 )
...
Some of the linters we've been using are deprecated now. We also hadn't
update our qtls depguard config for a very long time.
2023-04-19 05:45:19 -07:00
Marten Seemann
56a6d8d35b
ci: update golangci-lint to v1.52.2, update Go version ( #3740 )
...
* ci: update golangci-lint to v1.52.2, update Go version
* run gofumpt
2023-03-27 22:55:26 -07:00
Spencer Comfort
0a9ceca91e
ci: update GitHub action workflow versions ( #3677 )
...
* Update build-interop-docker.yml
* Update go-generate.yml
* Update lint.yml
* Update unit.yml
2023-02-13 15:26:56 -08:00
Marten Seemann
55891e2925
update CI to use Go 1.20
2023-02-02 09:51:18 +13:00
Marten Seemann
498475fa60
update golangci-lint action to v3, golangci-lint to v1.48.0 ( #3499 )
...
* run gofmt -s -w
* stop using the deprecated io/ioutil package
* update golangci-lint action to v3, golangci-lint to v1.48.0
2022-08-10 09:50:48 -07:00
Marten Seemann
ea9de26ed5
drop support for Go 1.16 and 1.17 ( #3482 )
2022-08-10 03:42:14 -07:00
Marten Seemann
7265441042
update golangci-lint to v1.45.2
2022-04-02 20:06:16 +01:00
Marten Seemann
366097106c
use Go 1.18 on CI
2022-03-16 11:16:44 +04:00
Marten Seemann
c923158a3e
update to Go 1.17.x
2021-08-16 23:21:24 +02:00
Marten Seemann
5ff1abb049
update golangci-lint to v1.41.1
2021-06-19 11:56:47 -07:00
Marten Seemann
a203702c28
add a CI test that go mod vendor works
2021-06-13 23:26:24 -07:00
Marten Seemann
3a41dd00d3
use Go 1.16 in the linting workflow, run go mod tidy using Go 1.16
2021-03-05 13:28:37 +08:00
Marten Seemann
ec3482d261
run golangci-lint in a separate job
2021-01-11 14:58:56 +08:00
Marten Seemann
a6e78498f6
Merge pull request #2967 from lucas-clemente/improve-go-mod-tidy-workflow
...
improve go mod tidy workflow
2021-01-02 09:49:46 +08:00
Marten Seemann
54666a0abb
use diff instead of cmp to compare the tidied go.mod and go.sum files
2020-12-30 13:04:23 +08:00
Marten Seemann
909c92a112
explicitily set the Go version in the linting workflow
...
This should be set to the most recent (stable) Go version that we
support.
2020-12-30 13:03:56 +08:00
Marten Seemann
38d4d63d3c
update golangci-lint to v1.34.1
2020-12-30 12:29:04 +08:00
Marten Seemann
b7cb3fc766
check that go.mod is tidied
2020-11-29 13:28:02 +07:00
Marten Seemann
1c163dc1e2
use golangci-lint-action@v2 to run golangci-lint
2020-09-15 09:08:33 +07:00
Marten Seemann
4414060017
update golangci-lint to v1.31
2020-09-12 11:41:04 +07:00
Marten Seemann
562cf11b11
run golangci-lint on Github Actions instead of Travis
2020-08-18 11:50:45 +07:00