From 0c367e19ca4c06ace067f1268c1a1a64d8da4253 Mon Sep 17 00:00:00 2001 From: discoursebot Date: Tue, 22 Mar 2022 09:02:57 -0400 Subject: [PATCH] DEV: Update CI workflows (#116) Co-authored-by: discoursebuild --- .github/workflows/plugin-linting.yml | 4 ++-- .github/workflows/plugin-tests.yml | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/plugin-linting.yml b/.github/workflows/plugin-linting.yml index 64b47d5..d0e6e60 100644 --- a/.github/workflows/plugin-linting.yml +++ b/.github/workflows/plugin-linting.yml @@ -15,10 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Set up Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: node-version: 16 cache: yarn diff --git a/.github/workflows/plugin-tests.yml b/.github/workflows/plugin-tests.yml index c4fdfd2..5832d38 100644 --- a/.github/workflows/plugin-tests.yml +++ b/.github/workflows/plugin-tests.yml @@ -31,13 +31,13 @@ jobs: build_type: ["backend", "frontend-legacy", "frontend"] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 with: repository: discourse/discourse fetch-depth: 1 - name: Install plugin - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: path: plugins/${{ github.event.repository.name }} fetch-depth: 1 @@ -58,7 +58,7 @@ jobs: sudo -u postgres psql -c "CREATE ROLE $PGUSER LOGIN SUPERUSER PASSWORD '$PGPASSWORD';" - name: Bundler cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: vendor/bundle key: ${{ runner.os }}-gem-${{ hashFiles('**/Gemfile.lock') }} @@ -83,7 +83,7 @@ jobs: run: echo "::set-output name=dir::$(yarn cache dir)" - name: Yarn cache - uses: actions/cache@v2 + uses: actions/cache@v3 id: yarn-cache with: path: ${{ steps.yarn-cache-dir.outputs.dir }} @@ -95,7 +95,7 @@ jobs: run: yarn install - name: Fetch app state cache - uses: actions/cache@v2 + uses: actions/cache@v3 id: app-cache with: path: tmp/app-cache