Explorar el Código

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

Stefan Benten hace 5 meses
padre
commit
c545d38ab4
Se han modificado 4 ficheros con 7 adiciones y 7 borrados
  1. 2 2
      .github/workflows/release.yml
  2. 2 2
      .github/workflows/test.yml
  3. 2 2
      Dockerfile
  4. 1 1
      go.mod

+ 2 - 2
.github/workflows/release.yml

@@ -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

+ 2 - 2
.github/workflows/test.yml

@@ -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

+ 2 - 2
Dockerfile

@@ -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 - 1
go.mod

@@ -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