From 72fe856f1039659eb001c0eba3f17fde939483ed Mon Sep 17 00:00:00 2001 From: William Bezuidenhout Date: Fri, 2 Oct 2026 11:07:22 +0200 Subject: [PATCH] build: upgrade Go to 1.26 --- .github/workflows/build.yml | 4 ++-- Dockerfile | 2 +- go.mod | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3326278..fe782b8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: actions/setup-go@v2 + - uses: actions/setup-go@v7 with: - go-version: '1.15.1' + go-version: '1.26.7' - run: go test -coverprofile coverage.txt diff --git a/Dockerfile b/Dockerfile index ab0bd16..9ad2d3e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:1.15-alpine as builder +FROM golang:1.26.7-alpine AS builder #ENV CGO_ENABLED=0 WORKDIR /build diff --git a/go.mod b/go.mod index 8627319..0fbcc5d 100644 --- a/go.mod +++ b/go.mod @@ -1,3 +1,3 @@ module github.com/sourcegraph/codenotify -go 1.15 +go 1.26.0