1
0
mirror of https://github.com/labstack/echo.git synced 2025-11-29 22:48:07 +02:00

CI: test with Go 1.24 (#2748)

This commit is contained in:
Martti T.
2025-02-12 19:17:34 +02:00
committed by GitHub
parent ce0b12ae53
commit c44f6283f0
3 changed files with 5 additions and 5 deletions

View File

@@ -14,7 +14,7 @@ permissions:
env:
# run static analysis only with the latest Go version
LATEST_GO_VERSION: "1.23"
LATEST_GO_VERSION: "1.24"
jobs:
check:

View File

@@ -14,7 +14,7 @@ permissions:
env:
# run coverage and benchmarks only with the latest Go version
LATEST_GO_VERSION: "1.23"
LATEST_GO_VERSION: "1.24"
jobs:
test:
@@ -25,7 +25,7 @@ jobs:
# Echo tests with last four major releases (unless there are pressing vulnerabilities)
# As we depend on `golang.org/x/` libraries which only support last 2 Go releases we could have situations when
# we derive from last four major releases promise.
go: ["1.20", "1.21", "1.22", "1.23"]
go: ["1.21", "1.22", "1.23", "1.24"]
name: ${{ matrix.os }} @ Go ${{ matrix.go }}
runs-on: ${{ matrix.os }}
steps:

View File

@@ -31,6 +31,6 @@ benchmark: ## Run benchmarks
help: ## Display this help screen
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
goversion ?= "1.20"
test_version: ## Run tests inside Docker with given version (defaults to 1.20 oldest supported). Example: make test_version goversion=1.20
goversion ?= "1.21"
test_version: ## Run tests inside Docker with given version (defaults to 1.21 oldest supported). Example: make test_version goversion=1.21
@docker run --rm -it -v $(shell pwd):/project golang:$(goversion) /bin/sh -c "cd /project && make init check"