From 5928ff4210b453bee9621187ce5337aee569e39f Mon Sep 17 00:00:00 2001 From: Fabrizio Salmi Date: Sat, 6 Dec 2025 22:55:55 +0100 Subject: [PATCH] ci: fix go version and bump to v0.1.3 --- .github/workflows/build-run-validate.yml | 4 ++-- .github/workflows/test.yml | 2 +- caddywaf.go | 2 +- go.mod | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build-run-validate.yml b/.github/workflows/build-run-validate.yml index 3b8d909..41477f5 100644 --- a/.github/workflows/build-run-validate.yml +++ b/.github/workflows/build-run-validate.yml @@ -27,10 +27,10 @@ jobs: sudo apt update sudo apt install -y wget git build-essential curl python3 python3-pip - - name: Install Go 1.24.2 + - name: Install Go 1.23 uses: actions/setup-go@v4 with: - go-version: '1.24.2' + go-version: '1.23' - name: Clone caddy-waf Repository run: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c81bfb4..590f813 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,7 +26,7 @@ jobs: os: - ubuntu-latest go: - - '1.25' + - '1.23' runs-on: ${{ matrix.os }} permissions: diff --git a/caddywaf.go b/caddywaf.go index 07bba79..42c1535 100644 --- a/caddywaf.go +++ b/caddywaf.go @@ -50,7 +50,7 @@ var ( ) // Add or update the version constant as needed -const wafVersion = "v0.1.2" // update this value to the new release version when tagging +const wafVersion = "v0.1.3" // update this value to the new release version when tagging // ==================== Initialization and Setup ==================== diff --git a/go.mod b/go.mod index fdacb02..78e05a3 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ module github.com/fabriziosalmi/caddy-waf -go 1.25.5 +go 1.23.0 + -toolchain go1.25.3 require ( github.com/caddyserver/caddy/v2 v2.10.2