Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ci: Update GitHub Actions dependencies.
Anders Kaseorg27fa91066cb9
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymlindex 69bc80f9368..53e53215733 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yml@@ -17,15 +17,15 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v2+ uses: actions/checkout@v3# Initializes the CodeQL tools for scanning.- name: Initialize CodeQL- uses: github/codeql-action/init@v1+ uses: github/codeql-action/init@v2# Override language selection by uncommenting this and choosing your languages# with:# languages: go, javascript, csharp, python, cpp, java- name: Perform CodeQL Analysis- uses: github/codeql-action/analyze@v1+ uses: github/codeql-action/analyze@v2diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex b602dbf417a..81aab733f03 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -58,7 +58,7 @@ jobs:# cache action to work. It is owned by root currently.sudo chmod -R 0777 /__w/_temp/- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: Create cache directoriesrun: |@@ -67,21 +67,21 @@ jobs:sudo chown -R github "${dirs[@]}"- name: Restore node_modules cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-npm-cachekey: v1-yarn-deps-focal-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}restore-keys: v1-yarn-deps-focal- name: Restore python cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-venv-cachekey: v1-venv-focal-${{ hashFiles('requirements/dev.txt') }}restore-keys: v1-venv-focal- name: Restore emoji cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-emoji-cachekey: v1-emoji-focal-${{ hashFiles('tools/setup/emoji/emoji_map.json') }}-${{ hashFiles('tools/setup/emoji/build_emoji') }}-${{ hashFiles('tools/setup/emoji/emoji_setup_utils.py') }}-${{ hashFiles('tools/setup/emoji/emoji_names.py') }}-${{ hashFiles('package.json') }}@@ -91,7 +91,7 @@ jobs:run: ./tools/ci/production-build- name: Upload production build artifacts for install jobs- uses: actions/upload-artifact@v2+ uses: actions/upload-artifact@v3with:name: production-tarballpath: /tmp/production-build@@ -136,7 +136,7 @@ jobs:steps:- name: Download built production tarball- uses: actions/download-artifact@v2+ uses: actions/download-artifact@v3with:name: production-tarballpath: /tmp@@ -163,7 +163,7 @@ jobs:sudo chown -R github "${dirs[@]}"- name: Restore node_modules cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-npm-cachekey: v1-yarn-deps-${{ matrix.os }}-${{ hashFiles('/tmp/package.json') }}-${{ hashFiles('/tmp/yarn.lock') }}@@ -231,7 +231,7 @@ jobs:steps:- name: Download built production tarball- uses: actions/download-artifact@v2+ uses: actions/download-artifact@v3with:name: production-tarballpath: /tmpdiff --git a/.github/workflows/update-oneclick-apps.yml b/.github/workflows/update-oneclick-apps.ymlindex 47da7849b67..ad34a2fa0ee 100644--- a/.github/workflows/update-oneclick-apps.yml+++ b/.github/workflows/update-oneclick-apps.yml@@ -6,7 +6,7 @@ jobs:update-digitalocean-oneclick-app:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: Update DigitalOcean one click appenv:DIGITALOCEAN_API_KEY: ${{ secrets.ONE_CLICK_ACTION_DIGITALOCEAN_API_KEY }}diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.ymlindex 8c9a71af2b0..9f5e45db154 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -52,7 +52,7 @@ jobs:HOME: /home/github/steps:- - uses: actions/checkout@v2+ - uses: actions/checkout@v3- name: Create cache directoriesrun: |@@ -61,21 +61,21 @@ jobs:sudo chown -R github "${dirs[@]}"- name: Restore node_modules cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-npm-cachekey: v1-yarn-deps-${{ matrix.os }}-${{ hashFiles('package.json') }}-${{ hashFiles('yarn.lock') }}restore-keys: v1-yarn-deps-${{ matrix.os }}- name: Restore python cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-venv-cachekey: v1-venv-${{ matrix.os }}-${{ hashFiles('requirements/dev.txt') }}restore-keys: v1-venv-${{ matrix.os }}- name: Restore emoji cache- uses: actions/cache@v2+ uses: actions/cache@v3with:path: /srv/zulip-emoji-cachekey: v1-emoji-${{ matrix.os }}-${{ hashFiles('tools/setup/emoji/emoji_map.json') }}-${{ hashFiles('tools/setup/emoji/build_emoji') }}-${{ hashFiles('tools/setup/emoji/emoji_setup_utils.py') }}-${{ hashFiles('tools/setup/emoji/emoji_names.py') }}-${{ hashFiles('package.json') }}@@ -209,14 +209,14 @@ jobs:# Only upload coverage when both frontend and backend# tests are run.if: ${{ matrix.include_frontend_tests }}- uses: codecov/codecov-action@v2+ uses: codecov/codecov-action@v3with:files: var/coverage.xml,var/node-coverage/lcov.info- name: Store Puppeteer artifacts# Upload these on failure, as wellif: ${{ always() && matrix.include_frontend_tests }}- uses: actions/upload-artifact@v2+ uses: actions/upload-artifact@v3with:name: puppeteerpath: ./var/puppeteer