diff --git a/.github/workflows/check_pr.yml b/.github/workflows/check_pr.yml index 93b06ce5e85..2441594cdf7 100644 --- a/.github/workflows/check_pr.yml +++ b/.github/workflows/check_pr.yml @@ -15,7 +15,7 @@ jobs: node: [*node_version] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: @@ -23,7 +23,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -89,7 +89,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -100,7 +100,7 @@ jobs: - name: Cache .eslintcache if: matrix.nodeRun == matrix.nodeBuild id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | .eslintcache @@ -131,7 +131,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 @@ -141,7 +141,7 @@ jobs: - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/docs/node_modules diff --git a/.github/workflows/deploy_docs.yml b/.github/workflows/deploy_docs.yml index 2e18d3807ca..2535cecf094 100644 --- a/.github/workflows/deploy_docs.yml +++ b/.github/workflows/deploy_docs.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 @@ -19,7 +19,7 @@ jobs: - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/docs/node_modules diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c95e82b092e..e337049278e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Use Node.js ${{ env.NODE_VERSION }} uses: actions/setup-node@v6 with: @@ -24,7 +24,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -59,7 +59,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -69,7 +69,7 @@ jobs: run: npm ci - name: Cache .eslintcache id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | .eslintcache @@ -91,14 +91,14 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - uses: actions/setup-node@v6 with: node-version: ${{ env.NODE_VERSION }} - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/docs/node_modules @@ -133,7 +133,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -162,7 +162,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Set up QEMU - uses: docker/setup-qemu-action@v4 + uses: docker/setup-qemu-action@v4.1.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4 - name: Login to DockerHub @@ -177,14 +177,14 @@ jobs: - name: Wait for npm publish run: node scripts/wait-npm-publish.js latest ${{ steps.package_version.outputs.version }} - name: Build and push ${{ steps.package_version.outputs.version }} - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v7.2.0 with: push: true tags: m365pnp/cli-microsoft365:${{ steps.package_version.outputs.version }} build-args: | CLI_VERSION=${{ steps.package_version.outputs.version }} - name: Build and push latest - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v7.2.0 with: push: true tags: m365pnp/cli-microsoft365:latest diff --git a/.github/workflows/release_next.yml b/.github/workflows/release_next.yml index ea71a6d89e8..f440b1f6a45 100644 --- a/.github/workflows/release_next.yml +++ b/.github/workflows/release_next.yml @@ -16,7 +16,7 @@ jobs: node: [*node_version] steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 - name: Use Node.js ${{ matrix.node }} uses: actions/setup-node@v6 with: @@ -24,7 +24,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -90,7 +90,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -101,7 +101,7 @@ jobs: - name: Cache .eslintcache if: matrix.nodeRun == matrix.nodeBuild id: eslintcache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | .eslintcache @@ -132,7 +132,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v6 + - uses: actions/checkout@v7 with: # Number of commits to fetch. 0 indicates all history for all branches and tags. Default: 1 fetch-depth: 0 @@ -142,7 +142,7 @@ jobs: - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/docs/node_modules @@ -185,7 +185,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - name: Cache node modules id: cache - uses: actions/cache@v5 + uses: actions/cache@v6.1.0 with: path: | **/node_modules @@ -241,7 +241,7 @@ jobs: node-version: ${{ env.NODE_VERSION }} registry-url: 'https://registry.npmjs.org' - name: Set up QEMU - uses: docker/setup-qemu-action@v4 + uses: docker/setup-qemu-action@v4.1.0 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v4 - name: Login to DockerHub @@ -256,14 +256,14 @@ jobs: - name: Wait for npm publish run: node scripts/wait-npm-publish.js next ${{ steps.package_version.outputs.version }} - name: Build and push ${{ steps.package_version.outputs.version }} - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v7.2.0 with: push: true tags: m365pnp/cli-microsoft365:${{ steps.package_version.outputs.version }} build-args: | CLI_VERSION=${{ steps.package_version.outputs.version }} - name: Build and push next - uses: docker/build-push-action@v7 + uses: docker/build-push-action@v7.2.0 with: push: true tags: m365pnp/cli-microsoft365:next