diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 196f893..24332e4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,7 +23,7 @@ jobs: with: go-version: ${{ matrix.go-version }} - name: Cache go modules - uses: actions/cache@v3.0.1 + uses: actions/cache@v3.0.4 with: path: ~/go/pkg/mod key: ${{ runner.os }}-go-${{ matrix.go-version }}-${{ hashFiles('**/go.sum') }} @@ -70,7 +70,7 @@ jobs: with: node-version: ${{ matrix.go-version }} - name: Cache node modules - uses: actions/cache@v3.0.1 + uses: actions/cache@v3.0.4 with: path: ~/.npm key: ${{ runner.os }}-npm-${{ matrix.node-version }}-${{ hashFiles('**/package-lock.json') }} @@ -94,14 +94,14 @@ jobs: - name: Set up Docker Buildx uses: docker/setup-buildx-action@v1 - name: Cache Docker layers - uses: actions/cache@v3.0.1 + uses: actions/cache@v3.0.4 with: path: /tmp/.buildx-cache key: ${{ runner.os }}-buildx-${{ github.sha }} restore-keys: | ${{ runner.os }}-buildx- - name: Login to DockerHub - uses: docker/login-action@v1 + uses: docker/login-action@v2 if: startsWith(github.ref, 'refs/tags/') || github.ref == 'refs/heads/master' with: username: ${{ secrets.DOCKERHUB_USERNAME }}