diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6600a08..a02164c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: strategy: matrix: - go-version: ['1.26'] + go-version: ['1.24', '1.25', '1.26.1'] steps: - name: Checkout code @@ -61,7 +61,7 @@ jobs: strategy: matrix: - go-version: ['1.26'] + go-version: ['1.24', '1.25', '1.26.1'] steps: - name: Checkout code @@ -107,7 +107,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: '1.26' + go-version: '1.26.1' cache: false - name: Cache Go modules @@ -116,9 +116,9 @@ jobs: path: | ~/.cache/go-build ~/go/pkg/mod - key: ${{ runner.os }}-go-1.26-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-1.26.1-${{ hashFiles('**/go.sum') }} restore-keys: | - ${{ runner.os }}-go-1.26- + ${{ runner.os }}-go-1.26.1- - name: Download dependencies run: go mod download diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 815e9ee..e1855e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -21,7 +21,7 @@ jobs: - name: Set up Go uses: actions/setup-go@v6 with: - go-version: "1.26" + go-version: '1.26.1' cache: false - name: Cache Go modules @@ -30,9 +30,9 @@ jobs: path: | ~/.cache/go-build ~/go/pkg/mod - key: ${{ runner.os }}-go-1.26-${{ hashFiles('**/go.sum') }} + key: ${{ runner.os }}-go-1.26.1-${{ hashFiles('**/go.sum') }} restore-keys: | - ${{ runner.os }}-go-1.26- + ${{ runner.os }}-go-1.26.1- - name: Run unit tests run: make test diff --git a/go.mod b/go.mod index e6c9562..904ba8d 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/andreagrandi/mcp-wire -go 1.26.1 +go 1.24.2 + +toolchain go1.26.1 require ( github.com/charmbracelet/bubbles v1.0.0