diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index a95926aea..41f6abc49 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,8 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4.1.7 + # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 59ff1b3f6..965646861 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -16,20 +16,21 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + with: fetch-depth: 0 - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -50,10 +51,11 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: ${{ matrix.node-version }} @@ -76,9 +78,9 @@ jobs: - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -206,10 +208,11 @@ jobs: Pop-Location - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: ${{ matrix.node-version }} @@ -257,10 +260,11 @@ jobs: - name: Determine npm cache directory id: npm-cache + shell: bash run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -330,17 +334,18 @@ jobs: if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" - - uses: actions/cache@v3 + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -373,18 +378,19 @@ jobs: if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -419,18 +425,19 @@ jobs: if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -466,18 +473,19 @@ jobs: if: ${{ github.event_name == 'push' || github.repository == github.event.pull_request.head.repo.full_name }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} @@ -509,18 +517,19 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18 - name: Determine npm cache directory id: npm-cache run: | - echo "::set-output name=dir::$(npm config get cache)" + echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT} - - uses: actions/cache@v3 + - uses: actions/cache@v4.0.2 with: path: ${{ steps.npm-cache.outputs.dir }} key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3d067b5a4..3fe64abc5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,9 +9,10 @@ jobs: name: Release runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4.1.7 + - name: Use Node.js 18 - uses: actions/setup-node@v3 + uses: actions/setup-node@v4.0.3 with: node-version: 18