.github/, Dockerfile: bump go version (#654)

This commit is contained in:
Stefan Benten
2025-07-19 18:18:54 +02:00
committed by GitHub
parent db3f86235f
commit c545d38ab4
4 changed files with 7 additions and 7 deletions

View File

@@ -105,9 +105,9 @@ jobs:
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
- name: Set up Go
uses: actions/setup-go@v2
uses: actions/setup-go@v5
with:
go-version: ^1.18
go-version: ^1.22
- name: Get project dependencies
run: go mod download

View File

@@ -13,9 +13,9 @@ jobs:
fail-fast: false
matrix:
go_version:
- '1.21'
- '1.22'
- '1.23'
- '1.24'
- tip
name: Test with ${{ matrix.go_version }}
steps:
@@ -50,7 +50,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-go@master
with:
go-version: '1.23'
go-version: '1.24'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v2

View File

@@ -1,5 +1,5 @@
# Default to Go 1.20
ARG GO_VERSION=1.20
# Default to Go 1.24
ARG GO_VERSION=1.24
FROM golang:${GO_VERSION}-alpine as build
# Necessary to run 'go get' and to compile the linked binary

2
go.mod
View File

@@ -1,6 +1,6 @@
module github.com/dutchcoders/transfer.sh
go 1.18
go 1.22
require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8