瀏覽代碼

Fix Go CI action

Bernhard Froehlich 2 年之前
父節點
當前提交
9051ffddf7
共有 1 個文件被更改,包括 3 次插入12 次删除
  1. 3 12
      .github/workflows/go.yml

+ 3 - 12
.github/workflows/go.yml

@@ -6,19 +6,10 @@ jobs:
     name: Build
     runs-on: ubuntu-latest
     steps:
-
-    - name: Set up Go 1.20
-      uses: actions/setup-go@v4
+    - uses: actions/checkout@v3
+    - uses: actions/setup-go@v4
       with:
-        go-version: 1.20
-      id: go
-
-    - name: Check out code into the Go module directory
-      uses: actions/checkout@v3
-
-    - name: Get dependencies
-      run: |
-        go get -v -t -d ./...
+        go-version: 'stable'
 
     - name: Build
       run: go build -v .