Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
ci: Upgrade external GitHub actions.
Anders Kaseorg0347e07a96d9
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.ymlindex 3d22b2d0e5e..c6e85a48067 100644--- a/.github/workflows/codeql-analysis.yml+++ b/.github/workflows/codeql-analysis.yml@@ -26,7 +26,7 @@ jobs:steps:- name: Check out repository- uses: actions/checkout@v3+ uses: actions/checkout@v4# Initializes the CodeQL tools for scanning.- name: Initialize CodeQLdiff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.ymlindex e70afb10845..eb7e637ed72 100644--- a/.github/workflows/production-suite.yml+++ b/.github/workflows/production-suite.yml@@ -64,7 +64,7 @@ jobs:# cache action to work. It is owned by root currently.sudo chmod -R 0777 /__w/_temp/- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Create cache directoriesrun: |@@ -73,20 +73,20 @@ jobs:sudo chown -R github "${dirs[@]}"- name: Restore pnpm store- uses: actions/cache@v3+ uses: actions/cache@v4with:path: /__w/.pnpm-storekey: v1-pnpm-store-focal-${{ hashFiles('pnpm-lock.yaml') }}- name: Restore python cache- uses: actions/cache@v3+ uses: actions/cache@v4with:path: /srv/zulip-venv-cachekey: v1-venv-focal-${{ hashFiles('requirements/dev.txt') }}restore-keys: v1-venv-focal- name: Restore emoji cache- uses: actions/cache@v3+ uses: actions/cache@v4with: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') }}@@ -96,7 +96,7 @@ jobs:run: ./tools/ci/production-build- name: Upload production build artifacts for install jobs- uses: actions/upload-artifact@v3+ uses: actions/upload-artifact@v4with:name: production-tarballpath: /tmp/production-build@@ -164,7 +164,7 @@ jobs:steps:- name: Download built production tarball- uses: actions/download-artifact@v3+ uses: actions/download-artifact@v4with:name: production-tarballpath: /tmp@@ -176,7 +176,7 @@ jobs:# cache action to work. It is owned by root currently.sudo chmod -R 0777 /__w/_temp/- # Since actions/download-artifact@v2 loses all the permissions+ # Since actions/download-artifact@v4 loses all the permissions# of the tarball uploaded by the upload artifact fix those.chmod +x /tmp/production-upgrade-pgchmod +x /tmp/production-pgroonga@@ -270,7 +270,7 @@ jobs:steps:- name: Download built production tarball- uses: actions/download-artifact@v3+ uses: actions/download-artifact@v4with:name: production-tarballpath: /tmp@@ -282,7 +282,7 @@ jobs:# cache action to work. It is owned by root currently.sudo chmod -R 0777 /__w/_temp/- # Since actions/download-artifact@v2 loses all the permissions+ # Since actions/download-artifact@v4 loses all the permissions# of the tarball uploaded by the upload artifact fix those.chmod +x /tmp/production-upgradechmod +x /tmp/production-verifydiff --git a/.github/workflows/update-oneclick-apps.yml b/.github/workflows/update-oneclick-apps.ymlindex 21eec412ee5..c10bc110da4 100644--- a/.github/workflows/update-oneclick-apps.yml+++ b/.github/workflows/update-oneclick-apps.yml@@ -9,7 +9,7 @@ jobs:update-digitalocean-oneclick-app:runs-on: ubuntu-lateststeps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- 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 36cf4fce3a5..9c2e9bf2f83 100644--- a/.github/workflows/zulip-ci.yml+++ b/.github/workflows/zulip-ci.yml@@ -68,7 +68,7 @@ jobs:HOME: /home/github/steps:- - uses: actions/checkout@v3+ - uses: actions/checkout@v4- name: Create cache directoriesrun: |@@ -77,20 +77,20 @@ jobs:sudo chown -R github "${dirs[@]}"- name: Restore pnpm store- uses: actions/cache@v3+ uses: actions/cache@v4with:path: /__w/.pnpm-storekey: v1-pnpm-store-${{ matrix.os }}-${{ hashFiles('pnpm-lock.yaml') }}- name: Restore python cache- uses: actions/cache@v3+ uses: actions/cache@v4with: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@v3+ uses: actions/cache@v4with:path: /srv/zulip-emoji-cachekey: v1-emoji-${{ matrix.os }}-${{ hashFiles('tools/setup/emoji/emoji_map.json', 'tools/setup/emoji/build_emoji', 'tools/setup/emoji/emoji_setup_utils.py', 'tools/setup/emoji/emoji_names.py', 'package.json') }}@@ -231,14 +231,15 @@ jobs:# Only upload coverage when both frontend and backend# tests are run.if: ${{ matrix.include_frontend_tests }}- uses: codecov/codecov-action@v3+ uses: codecov/codecov-action@v4with:files: var/coverage.xml,var/node-coverage/lcov.info+ token: ${{ secrets.CODECOV_TOKEN }}- name: Store Puppeteer artifacts# Upload these on failure, as wellif: ${{ always() && matrix.include_frontend_tests }}- uses: actions/upload-artifact@v3+ uses: actions/upload-artifact@v4with:name: puppeteerpath: ./var/puppeteer