DEV: Update CI workflows (#133)

Co-authored-by: discoursebuild <build@discourse.org>
This commit is contained in:
discoursebot 2022-03-22 09:01:25 -04:00 committed by GitHub
parent 7e2a490b67
commit 8ca041846a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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