build: Use Go 1.22, minimum is Go 1.21 (#9408)

Also updated dependencies, and an adjustment to build tags for how those
are handled and how irrelevant go1.15 is nowadays...
This commit is contained in:
Jakob Borg
2024-02-09 16:35:29 +01:00
committed by GitHub
parent 416b9e8924
commit fc8b353011
8 changed files with 50 additions and 20 deletions
@@ -16,7 +16,7 @@ jobs:
token: ${{ secrets.ACTIONS_GITHUB_TOKEN }}
- uses: actions/setup-go@v5
with:
go-version: ^1.19.6
go-version: stable
- run: |
set -euo pipefail
git config --global user.name 'Syncthing Release Automation'