.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 echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
- name: Set up Go - name: Set up Go
uses: actions/setup-go@v2 uses: actions/setup-go@v5
with: with:
go-version: ^1.18 go-version: ^1.22
- name: Get project dependencies - name: Get project dependencies
run: go mod download run: go mod download

View File

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

View File

@@ -1,5 +1,5 @@
# Default to Go 1.20 # Default to Go 1.24
ARG GO_VERSION=1.20 ARG GO_VERSION=1.24
FROM golang:${GO_VERSION}-alpine as build FROM golang:${GO_VERSION}-alpine as build
# Necessary to run 'go get' and to compile the linked binary # 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 module github.com/dutchcoders/transfer.sh
go 1.18 go 1.22
require ( require (
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8 github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8