Jelajahi Sumber

build: Update cache path for go (#550)

James Read 1 tahun lalu
induk
melakukan
2320a56dd9

+ 1 - 0
.github/workflows/build-buf.yml

@@ -21,6 +21,7 @@ jobs:
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
+          cache-dependency-path: 'service/go.mod'
 
 
       - name: grpc
       - name: grpc
         run: make -w grpc
         run: make -w grpc

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

@@ -33,6 +33,7 @@ jobs:
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
+          cache-dependency-path: 'service/go.mod'
 
 
       - name: Print go version
       - name: Print go version
         run: go version
         run: go version

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

@@ -33,6 +33,7 @@ jobs:
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
+          cache-dependency-path: 'service/go.mod'
 
 
       - name: Print go version
       - name: Print go version
         run: go version
         run: go version

+ 1 - 0
.github/workflows/codeql-analysis.yml

@@ -49,6 +49,7 @@ jobs:
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
+          cache-dependency-path: 'service/go.mod'
 
 
       - name: grpc
       - name: grpc
         run: make -w grpc
         run: make -w grpc

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

@@ -23,6 +23,7 @@ jobs:
         with:
         with:
           go-version-file: 'service/go.mod'
           go-version-file: 'service/go.mod'
           cache: true
           cache: true
+          cache-dependency-path: 'service/go.mod'
 
 
       - name: Print go version
       - name: Print go version
         run: go version
         run: go version