diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ci.yml | 8 | ||||
-rw-r--r-- | .github/workflows/cross-build.yml | 6 | ||||
-rw-r--r-- | .github/workflows/lint.yml | 7 |
3 files changed, 9 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0bca6b4d9..f0fb2520b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,18 +23,18 @@ jobs: - macos-latest - windows-latest go: - - '1.20' - '1.21' + - '1.22' include: # Set the minimum Go patch version for the given Go minor # Usable via ${{ matrix.GO_SEMVER }} - - go: '1.20' - GO_SEMVER: '~1.20.6' - - go: '1.21' GO_SEMVER: '~1.21.0' + - go: '1.22' + GO_SEMVER: '~1.22.0-rc.2' + # Set some variables per OS, usable via ${{ matrix.VAR }} # CADDY_BIN_PATH: the path to the compiled Caddy binary, for artifact publishing # SUCCESS: the typical value for $? per OS (Windows/pwsh returns 'True') diff --git a/.github/workflows/cross-build.yml b/.github/workflows/cross-build.yml index 4abfccbc7..e35045395 100644 --- a/.github/workflows/cross-build.yml +++ b/.github/workflows/cross-build.yml @@ -29,13 +29,13 @@ jobs: - 'darwin' - 'netbsd' go: - - '1.21' + - '1.22' include: # Set the minimum Go patch version for the given Go minor # Usable via ${{ matrix.GO_SEMVER }} - - go: '1.21' - GO_SEMVER: '~1.21.0' + - go: '1.22' + GO_SEMVER: '~1.22.0-rc.2' runs-on: ubuntu-latest continue-on-error: true diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index b1fda44c4..d2762a621 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -31,12 +31,9 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-go@v5 with: - go-version: '~1.21.0' + go-version: '~1.22.0-rc.2' check-latest: true - # Workaround for https://github.com/golangci/golangci-lint-action/issues/135 - skip-pkg-cache: true - - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: @@ -57,5 +54,5 @@ jobs: - name: govulncheck uses: golang/govulncheck-action@v1 with: - go-version-input: '~1.21.0' + go-version-input: '~1.22.0-rc.2' check-latest: true |