Skip to content

Commit c545d38

Browse files
authored
.github/, Dockerfile: bump go version (#654)
1 parent db3f862 commit c545d38

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,9 +105,9 @@ jobs:
105105
echo "ASSET_NAME=$_NAME" >> $GITHUB_ENV
106106
107107
- name: Set up Go
108-
uses: actions/setup-go@v2
108+
uses: actions/setup-go@v5
109109
with:
110-
go-version: ^1.18
110+
go-version: ^1.22
111111

112112
- name: Get project dependencies
113113
run: go mod download

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
fail-fast: false
1414
matrix:
1515
go_version:
16-
- '1.21'
1716
- '1.22'
1817
- '1.23'
18+
- '1.24'
1919
- tip
2020
name: Test with ${{ matrix.go_version }}
2121
steps:
@@ -50,7 +50,7 @@ jobs:
5050
- uses: actions/checkout@v2
5151
- uses: actions/setup-go@master
5252
with:
53-
go-version: '1.23'
53+
go-version: '1.24'
5454
check-latest: true
5555
- name: golangci-lint
5656
uses: golangci/golangci-lint-action@v2

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Default to Go 1.20
2-
ARG GO_VERSION=1.20
1+
# Default to Go 1.24
2+
ARG GO_VERSION=1.24
33
FROM golang:${GO_VERSION}-alpine as build
44

55
# Necessary to run 'go get' and to compile the linked binary

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/dutchcoders/transfer.sh
22

3-
go 1.18
3+
go 1.22
44

55
require (
66
github.com/ProtonMail/go-crypto v0.0.0-20230217124315-7d5c6f04bbb8

0 commit comments

Comments
 (0)