瀏覽代碼

ci: use go 1.21

ayn2op 2 年之前
父節點
當前提交
10bd23965f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      .github/workflows/ci.yml

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

@@ -13,13 +13,13 @@ jobs:
 
       - uses: actions/setup-go@v4
         with:
-          go-version: '^1.20'
+          go-version: "^1.21"
 
       - name: Build
         run: go build .
         env:
           CGO_ENABLED: 0
-  
+
       - uses: actions/upload-artifact@v3
         if: ${{ github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) }}
         with: