James Read 2 лет назад
Родитель
Сommit
897cc0e034

+ 4 - 1
.github/workflows/build-snapshot.yml

@@ -33,9 +33,12 @@ jobs:
       - name: Setup Go
         uses: actions/setup-go@v5
         with:
-          go-version: '^1.18.0'
+          go-version-file: 'go.mod'
           cache: true
 
+      - name: Print go version
+        run: go version
+
       - name: grpc
         run: make -w grpc
 

+ 4 - 1
.github/workflows/build-tag.yml

@@ -31,9 +31,12 @@ jobs:
       - name: Setup Go
         uses: actions/setup-go@v5
         with:
-          go-version: '^1.18.0'
+          go-version-file: 'go.mod'
           cache: true
 
+      - name: Print go version
+        run: go version
+
       - name: Login to Docker Hub
         uses: docker/login-action@v2
         with:

+ 4 - 1
.github/workflows/codestyle.yml

@@ -21,9 +21,12 @@ jobs:
       - name: Setup Go
         uses: actions/setup-go@v5
         with:
-          go-version: '^1.18.0'
+          go-version-file: 'go.mod'
           cache: true
 
+      - name: Print go version
+        run: go version
+
       - name: deps
         run: make -w grpc