diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d82808ebfd..83bf08b1a8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,10 +20,10 @@ jobs: steps: - name: Checkout Z-Wave JS UI - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.4.1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 3d44d07879..7a9511bc4a 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: language: ['javascript'] steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/discord-publish.yml b/.github/workflows/discord-publish.yml index c43839f507..69841524c6 100644 --- a/.github/workflows/discord-publish.yml +++ b/.github/workflows/discord-publish.yml @@ -11,7 +11,7 @@ jobs: steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - uses: actions/github-script@v6 name: Post release notes to Discord diff --git a/.github/workflows/docker-release-test.yml b/.github/workflows/docker-release-test.yml index 888f8b796b..4ac24161d1 100644 --- a/.github/workflows/docker-release-test.yml +++ b/.github/workflows/docker-release-test.yml @@ -17,12 +17,12 @@ jobs: packages: write runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 # fetch everything ref: ${{ github.event.inputs.branch }} - - uses: actions/setup-node@v3.6.0 + - uses: actions/setup-node@v4 with: node-version: 20 cache: 'npm' diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index 7ed05bd0b7..872e93f821 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -16,7 +16,7 @@ jobs: matrix: platforms: [linux/amd64, linux/arm64, linux/arm/v7] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: docker/setup-buildx-action@v3 - uses: docker/setup-qemu-action@v3 diff --git a/.github/workflows/package_arm64.yml b/.github/workflows/package_arm64.yml index 0780f4e9b3..63168973c3 100644 --- a/.github/workflows/package_arm64.yml +++ b/.github/workflows/package_arm64.yml @@ -14,10 +14,10 @@ jobs: matrix: node-version: [18.x] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" @@ -36,7 +36,7 @@ jobs: dockerRunArgs: | --volume "${PWD}:/app" - base_image: arm64v8/node:18-bullseye + base_image: '--platform=linux/arm64 arm64v8/node:18-bullseye' # Rebuild .node modules for am64 run: | diff --git a/.github/workflows/package_armv7.yml b/.github/workflows/package_armv7.yml index d3b908836d..21627dd3b1 100644 --- a/.github/workflows/package_armv7.yml +++ b/.github/workflows/package_armv7.yml @@ -14,10 +14,10 @@ jobs: matrix: node-version: [18.18.2] # NB: when pkg-fetch bumps binaries, this must be updated steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 18.18.2 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: "npm" diff --git a/.github/workflows/release-it.yml b/.github/workflows/release-it.yml index a144df6b9b..c7e83172d2 100644 --- a/.github/workflows/release-it.yml +++ b/.github/workflows/release-it.yml @@ -19,14 +19,14 @@ jobs: node-version: [18.x] steps: - name: Checkout master - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: 'master' fetch-depth: 0 # fetch all commits history to create the changelog token: ${{ secrets.BOT_TOKEN }} - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3.6.0 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} cache: 'npm' diff --git a/.github/workflows/update-dep.yml b/.github/workflows/update-dep.yml index 58ef9754f4..22efa019ec 100644 --- a/.github/workflows/update-dep.yml +++ b/.github/workflows/update-dep.yml @@ -19,10 +19,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Use Node.js 20 - uses: actions/setup-node@v3.6.0 + uses: actions/setup-node@v4 with: node-version: 20.x cache: 'npm' diff --git a/.github/workflows/zwave-js-bot_comment.yml b/.github/workflows/zwave-js-bot_comment.yml index 36824a9d88..9d924c7048 100644 --- a/.github/workflows/zwave-js-bot_comment.yml +++ b/.github/workflows/zwave-js-bot_comment.yml @@ -20,7 +20,7 @@ jobs: steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: trusted @@ -62,7 +62,7 @@ jobs: if: | steps.check-permissions.outputs.result == 'true' && !fromJSON(steps.pr-info.outputs.result).pending - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{secrets.BOT_TOKEN}} repository: ${{ fromJSON(steps.pr-info.outputs.result).repoName }} @@ -124,7 +124,7 @@ jobs: steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check user's permissions to do this id: check-permissions @@ -164,7 +164,7 @@ jobs: - name: Checkout pull request if: steps.check-permissions.outputs.result == 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: token: ${{secrets.BOT_TOKEN}} repository: ${{ fromJSON(steps.get-pr.outputs.result).head.repo.full_name }} @@ -220,7 +220,7 @@ jobs: steps: - name: Checkout master branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check permissions and necessity id: check-permissions @@ -253,7 +253,7 @@ jobs: - name: Checkout pull request if: steps.check-permissions.outputs.result == 'true' - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # Fetch the history, or this action will break everything! token: ${{secrets.BOT_TOKEN}}