From 5dccc06385261b7f68ff91a630367b533072cd61 Mon Sep 17 00:00:00 2001 From: Thomas von Deyen Date: Thu, 8 Feb 2024 17:18:53 +0100 Subject: [PATCH] chore(CI): Update actions to Node 20 --- .github/workflows/brakeman-analysis.yml | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/lint.yml | 10 +++++----- .github/workflows/test.yml | 10 +++++----- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/brakeman-analysis.yml b/.github/workflows/brakeman-analysis.yml index 854f8e933e..8aec83dcb1 100644 --- a/.github/workflows/brakeman-analysis.yml +++ b/.github/workflows/brakeman-analysis.yml @@ -19,7 +19,7 @@ jobs: steps: # Checkout the repository to the GitHub Actions runner - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Customize the ruby version depending on your needs - name: Set up Ruby diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 54cb5718ce..3a93825877 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: with: cache: "yarn" - name: Restore node_modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ hashFiles('yarn.lock') }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index ff7becffa5..16c9fc5f6e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Ruby and gems uses: ruby/setup-ruby@v1 with: @@ -19,13 +19,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v3 with: node-version: "18" - name: Restore node_modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ hashFiles('package.json') }} @@ -39,13 +39,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Node uses: actions/setup-node@v3 with: node-version: "18" - name: Restore node_modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-node-modules-${{ hashFiles('package.json') }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 8f41fd1234..ff1539fce2 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,7 +56,7 @@ jobs: MARIADB_ROOT_PASSWORD: password options: --health-cmd="mariadb-admin ping" --health-interval=10s --health-timeout=5s --health-retries=5 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Ruby uses: ruby/setup-ruby@v1 with: @@ -64,7 +64,7 @@ jobs: bundler-cache: true - name: Restore apt cache id: apt-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: /home/runner/apt/cache key: ${{ runner.os }}-apt-${{ matrix.database }} @@ -86,7 +86,7 @@ jobs: sudo chown -R runner /home/runner/apt/cache - name: Restore node modules cache id: yarn-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: spec/dummy/node_modules key: ${{ runner.os }}-yarn-dummy-${{ hashFiles('./package.json') }} @@ -111,9 +111,9 @@ jobs: env: NODE_ENV: test steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Restore node modules cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: node_modules key: ${{ runner.os }}-yarn-${{ hashFiles('./package.json') }}