浏览代码

Bump used Go versions to 1.17

Bernhard Froehlich 3 年之前
父节点
当前提交
fd1214442c
共有 2 个文件被更改,包括 3 次插入3 次删除
  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.16
+    - name: Set up Go 1.17
       uses: actions/[email protected]
       with:
-        go-version: 1.16
+        go-version: 1.17
       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: "https://golang.org/dl/go1.16.3.linux-amd64.tar.gz"
+        goversion: "https://golang.org/dl/go1.17.3.linux-amd64.tar.gz"
         extra_files: LICENSE README.md smtprelay.ini
         ldflags: -s -w -X "main.appVersion=${{ env.APP_VERSION }}" -X "main.buildTime=${{ env.BUILD_TIME }}"