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