@@ -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
@@ -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
- go-version: '1.23'
+ go-version: '1.24'
check-latest: true
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
@@ -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
@@ -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