bump go version

This commit is contained in:
Matthew Knight 2026-03-06 18:54:34 -08:00
parent f57231bdea
commit 98d4e904aa
No known key found for this signature in database
4 changed files with 8 additions and 8 deletions

View File

@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- run: go mod download
- run: go test -v -race -coverprofile=coverage.out ./...
- run: go tool cover -func=coverage.out
@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- run: go vet ./...
- name: Check formatting
run: |
@ -66,7 +66,7 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- name: Compute next version
run: |

View File

@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- run: go mod download
- run: go test -v -race -coverprofile=coverage.out ./...
- run: go tool cover -func=coverage.out
@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- run: go vet ./...
- name: Check formatting
run: |
@ -59,7 +59,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: "1.25.7"
go-version: "1.26.1"
- name: Build Go binaries
run: |
CGO_ENABLED=0 GOOS=linux go build -ldflags="-w -s" -o ./bin/cairn-server ./cmd/cairn-server

View File

@ -1,4 +1,4 @@
FROM golang:1.25-alpine AS builder
FROM golang:1.26-alpine AS builder
WORKDIR /src
COPY go.mod go.sum ./

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/mattnite/cairn
go 1.25.7
go 1.26.1
require (
github.com/gin-gonic/gin v1.12.0