4
0
Эх сурвалжийг харах

cicd: Actions version bump

jamesread 3 жил өмнө
parent
commit
875186ee24

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

@@ -18,10 +18,17 @@ jobs:
           image: tonistiigi/binfmt:latest
           platforms: arm64,arm
 
+			- name: Setup node
+        uses: actions/setup-node@v3
+				with:
+					cache: 'npm'
+					cache-dependency-path: webui/package-lock.json
+
       - name: Setup Go
         uses: actions/setup-go@v3
         with: 
           go-version: '>=1.18.0'
+          cache: true
 
       - name: grpc
         run: make grpc

+ 9 - 2
.github/workflows/build-tag.yml

@@ -19,10 +19,17 @@ jobs:
           image: tonistiigi/binfmt:latest
           platforms: arm64,arm
 
+			- name: Setup node
+        uses: actions/setup-node@v3
+				with:
+					cache: 'npm'
+					cache-dependency-path: webui/package-lock.json
+
       - name: Setup Go
-        uses: actions/setup-go@v2
+        uses: actions/setup-go@v3
         with: 
-          go-version: '^1.16.0'
+          go-version: '^1.18.0'
+          cache: true
 
       - name: Login to Docker Hub
         uses: docker/login-action@v1