diff --git a/.github/workflows/build-snapshot.yml b/.github/workflows/build-snapshot.yml index 1d94948..d4cddc6 100644 --- a/.github/workflows/build-snapshot.yml +++ b/.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 diff --git a/.github/workflows/build-tag.yml b/.github/workflows/build-tag.yml index e3ad443..70ff4a7 100644 --- a/.github/workflows/build-tag.yml +++ b/.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