فهرست منبع

cicd: Actions version bump

jamesread 3 سال پیش
والد
کامیت
875186ee24
2فایلهای تغییر یافته به همراه16 افزوده شده و 2 حذف شده
  1. 7 0
      .github/workflows/build-snapshot.yml
  2. 9 2
      .github/workflows/build-tag.yml

+ 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