James Read 2 лет назад
Родитель
Сommit
897cc0e034
3 измененных файлов с 12 добавлено и 3 удалено
  1. 4 1
      .github/workflows/build-snapshot.yml
  2. 4 1
      .github/workflows/build-tag.yml
  3. 4 1
      .github/workflows/codestyle.yml

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

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

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

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

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

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