gotosocial/internal/oauth
Daenney 3a369d834a
[chore] Upgrade our Go version to 1.22 (#2862)
* [chore] Upgrade our Go version to 1.22

With Go 1.22 having been released at the start of February, it's now
been a few months. No major issues have shown up, and the two point
release since then have primarily been security fixes plus some general
bug fixing.

This sets the required Go version to 1.22, as there's nothing in 1.22.1
or 1.22.2 that we would explicitly require. It sets the toolchain to the
latest point release, to ensure we pick up any fixes from there when
building releases etc.

* [chore] Update CI to Go 1.22

* [chore] Update golangci-lint to 1.25.7

Newer version should know about Go 1.22 and run fine.

* [chore] Update Docker container to Go 1.22

* [chore] Update Dockerfile to newer Alpine version

* sign drone.yml

* add missing license header

---------

Co-authored-by: tobi <tobi.smethurst@protonmail.com>
2024-04-26 10:40:29 +02:00
..
clientstore.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
clientstore_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
errors.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
oauth_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
server.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
tokenstore.go [performance] cached oauth database types (#2838) 2024-04-15 14:22:21 +01:00
tokenstore_test.go [chore] Improve copyright header handling (#1608) 2023-03-12 16:00:57 +01:00
util.go [chore] Upgrade our Go version to 1.22 (#2862) 2024-04-26 10:40:29 +02:00