Parcourir la source

Bump Go version for CI and release builds to 1.20

Bernhard Froehlich il y a 2 ans
Parent
commit
5d625efa45
2 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 2 2
      .github/workflows/go.yml
  2. 1 1
      .github/workflows/release.yaml

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

@@ -7,10 +7,10 @@ jobs:
     runs-on: ubuntu-latest
     steps:
 
-    - name: Set up Go 1.18
+    - name: Set up Go 1.20
       uses: actions/setup-go@v4
       with:
-        go-version: 1.18
+        go-version: 1.20
       id: go
 
     - name: Check out code into the Go module directory

+ 1 - 1
.github/workflows/release.yaml

@@ -25,6 +25,6 @@ jobs:
         github_token: ${{ secrets.GITHUB_TOKEN }}
         goos: ${{ matrix.goos }}
         goarch: ${{ matrix.goarch }}
-        goversion: 1.18
+        goversion: 1.20
         extra_files: LICENSE README.md smtprelay.ini
         ldflags: -s -w -X "main.appVersion=${{ env.APP_VERSION }}" -X "main.buildTime=${{ env.BUILD_TIME }}"