From 9a93f823149498220a24fbb4081a3f928160be1b Mon Sep 17 00:00:00 2001 From: "Philip H." <47042125+pheiduck@users.noreply.github.com> Date: Thu, 21 Dec 2023 15:45:22 +0000 Subject: [PATCH] CI: use versioned actions and node-version 18 to match with package.json --- .github/workflows/codeql.yml | 8 ++++---- .github/workflows/deploy-development.yml | 8 ++++---- .github/workflows/deploy-stable.yml | 8 ++++---- .github/workflows/lint.yml | 6 +++--- .github/workflows/npm-update-bot.yml | 6 +++--- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 8ff2dbf5..46dfb138 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -24,17 +24,17 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Initialize CodeQL - uses: github/codeql-action/init@main + uses: github/codeql-action/init@v3 with: languages: ${{ matrix.language }} - name: Autobuild - uses: github/codeql-action/autobuild@main + uses: github/codeql-action/autobuild@v3 - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@main + uses: github/codeql-action/analyze@v3 with: category: "/language:${{matrix.language}}" diff --git a/.github/workflows/deploy-development.yml b/.github/workflows/deploy-development.yml index 9c396044..2ae2635f 100644 --- a/.github/workflows/deploy-development.yml +++ b/.github/workflows/deploy-development.yml @@ -13,15 +13,15 @@ jobs: packages: write contents: read steps: - - uses: actions/checkout@main + - uses: actions/checkout@v4 with: ref: production - name: Set up QEMU - uses: docker/setup-qemu-action@master + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@master + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -34,7 +34,7 @@ jobs: run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - name: Build & Publish Docker Image - uses: docker/build-push-action@master + uses: docker/build-push-action@v5 with: push: true platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 diff --git a/.github/workflows/deploy-stable.yml b/.github/workflows/deploy-stable.yml index cc4e9354..b97580d7 100644 --- a/.github/workflows/deploy-stable.yml +++ b/.github/workflows/deploy-stable.yml @@ -14,15 +14,15 @@ jobs: packages: write contents: read steps: - - uses: actions/checkout@main + - uses: actions/checkout@v4 with: ref: production - name: Set up QEMU - uses: docker/setup-qemu-action@master + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@master + uses: docker/setup-buildx-action@v3 - name: Login to GitHub Container Registry uses: docker/login-action@v3 @@ -35,7 +35,7 @@ jobs: run: echo RELEASE=$(cat ./src/package.json | jq -r .release) >> $GITHUB_ENV - name: Build & Publish Docker Image - uses: docker/build-push-action@master + uses: docker/build-push-action@v5 with: push: true platforms: linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8 diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 64d588f0..fffd10c3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@main + uses: actions/setup-node@v4 with: - node-version: 'current' + node-version: '18' check-latest: true cache: 'npm' cache-dependency-path: | diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index d07c74d6..ca72ea9f 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -12,11 +12,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@main + uses: actions/checkout@v4 - name: Setup Node - uses: actions/setup-node@main + uses: actions/setup-node@v4 with: - node-version: 'current' + node-version: '18' check-latest: true cache: 'npm' cache-dependency-path: |