Răsfoiți Sursa

Fix Go CI action

Bernhard Froehlich 2 ani în urmă
părinte
comite
9051ffddf7
1 a modificat fișierele cu 3 adăugiri și 12 ștergeri
  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 .