diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 23e0968..cea8880 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -21,7 +21,9 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: "1.23" + # Track go.mod (Go 1.22) — the plugin's yaegi-bound floor. Keeps the + # single source of truth and builds the mock on the supported version. + go-version-file: go.mod # CI runs the binary/mock suite only: Traefik as a downloaded binary + # a small LAPI mock (no Docker, no real Crowdsec). It validates the # plugin's own behaviour. Crowdsec / AppSec correctness is upstream's diff --git a/tests/e2e/mock/mocklapi/go.mod b/tests/e2e/mock/mocklapi/go.mod index e5b4a6d..bd05338 100644 --- a/tests/e2e/mock/mocklapi/go.mod +++ b/tests/e2e/mock/mocklapi/go.mod @@ -3,4 +3,4 @@ // golangci-lint and `go mod vendor`. Stdlib only — no dependencies. module mocklapi -go 1.23 +go 1.22