Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

workflows: Upgrade GitHub actions.

Anders Kaseorg55f510addb56
diff --git a/.github/workflows/api-docs-update-check.yml b/.github/workflows/api-docs-update-check.yml
index e31dc57a3ce..660309a7130 100644
--- a/.github/workflows/api-docs-update-check.yml
+++ b/.github/workflows/api-docs-update-check.yml
@@ -16,12 +16,12 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v6
with:
python-version: "3.x"
@@ -51,13 +51,13 @@ jobs:
steps:
- name: Checkout repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
token: ${{ secrets.GITHUB_TOKEN }}
fetch-depth: 0
- name: Set up Python
- uses: actions/setup-python@v4
+ uses: actions/setup-python@v6
with:
python-version: "3.x"
diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml
index a23d8943471..9c405da458b 100644
--- a/.github/workflows/codeql-analysis.yml
+++ b/.github/workflows/codeql-analysis.yml
@@ -26,15 +26,15 @@ jobs:
steps:
- name: Check out repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
- uses: github/codeql-action/init@v3
+ uses: github/codeql-action/init@v4
# 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@v3
+ uses: github/codeql-action/analyze@v4
diff --git a/.github/workflows/production-suite.yml b/.github/workflows/production-suite.yml
index 3f79c0b2e5b..7ce12fa755c 100644
--- a/.github/workflows/production-suite.yml
+++ b/.github/workflows/production-suite.yml
@@ -65,7 +65,7 @@ jobs:
# cache action to work. It is owned by root currently.
sudo chmod -R 0777 /__w/_temp/
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Create cache directories
run: |
@@ -97,7 +97,7 @@ jobs:
run: ./tools/ci/production-build
- name: Upload production build artifacts for install jobs
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: production-tarball
path: /tmp/production-build
@@ -168,7 +168,7 @@ jobs:
steps:
- name: Download built production tarball
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v6
with:
name: production-tarball
path: /tmp
@@ -180,7 +180,7 @@ jobs:
# cache action to work. It is owned by root currently.
sudo chmod -R 0777 /__w/_temp/
- # Since actions/download-artifact@v4 loses all the permissions
+ # Since actions/download-artifact@v6 loses all the permissions
# of the tarball uploaded by the upload artifact fix those.
chmod +x /tmp/production-upgrade-pg
chmod +x /tmp/production-pgroonga
@@ -274,7 +274,7 @@ jobs:
steps:
- name: Download built production tarball
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v6
with:
name: production-tarball
path: /tmp
@@ -286,7 +286,7 @@ jobs:
# cache action to work. It is owned by root currently.
sudo chmod -R 0777 /__w/_temp/
- # Since actions/download-artifact@v4 loses all the permissions
+ # Since actions/download-artifact@v6 loses all the permissions
# of the tarball uploaded by the upload artifact fix those.
chmod +x /tmp/production-upgrade
chmod +x /tmp/production-verify
diff --git a/.github/workflows/update-oneclick-apps.yml b/.github/workflows/update-oneclick-apps.yml
index c10bc110da4..addd1e2be8a 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-latest
steps:
- - uses: actions/checkout@v4
+ - uses: actions/checkout@v6
- name: Update DigitalOcean one click app
env:
DIGITALOCEAN_API_KEY: ${{ secrets.ONE_CLICK_ACTION_DIGITALOCEAN_API_KEY }}
diff --git a/.github/workflows/zulip-ci.yml b/.github/workflows/zulip-ci.yml
index dcd4637f045..1a4d713c43d 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@v4
+ - uses: actions/checkout@v6
- name: Create cache directories
run: |
@@ -228,7 +228,7 @@ jobs:
# Only upload coverage when both frontend and backend
# tests are run.
if: ${{ matrix.include_frontend_tests }}
- uses: codecov/codecov-action@v4
+ uses: codecov/codecov-action@v5
with:
files: var/coverage.xml,var/node-coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
@@ -236,7 +236,7 @@ jobs:
- name: Store Puppeteer artifacts
# Upload these on failure, as well
if: ${{ always() && matrix.include_frontend_tests }}
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: puppeteer
path: ./var/puppeteer
diff --git a/.github/workflows/zulip-cloud-deploy.yaml b/.github/workflows/zulip-cloud-deploy.yaml
index f643e09516b..447a9ff1d03 100644
--- a/.github/workflows/zulip-cloud-deploy.yaml
+++ b/.github/workflows/zulip-cloud-deploy.yaml
@@ -31,12 +31,12 @@ jobs:
filenames: ${{ steps.set-matrix.outputs.filenames }}
steps:
- name: Check out repository
- uses: actions/checkout@v4
+ uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Set up Python
- uses: actions/setup-python@v5
+ uses: actions/setup-python@v6
with:
python-version: "3.x"
@@ -60,7 +60,7 @@ jobs:
perl -pi -e 's/\00/\n\n/g' closed-by-commits-output/message-*
- name: Upload messages as artifacts
- uses: actions/upload-artifact@v4
+ uses: actions/upload-artifact@v5
with:
name: closed-by-commits-output
path: closed-by-commits-output/
@@ -80,7 +80,7 @@ jobs:
if: success() && ${{github.repository == 'zulip/zulip'}}
steps:
- name: Download messages as artifacts
- uses: actions/download-artifact@v4
+ uses: actions/download-artifact@v6
with:
name: closed-by-commits-output
path: closed-by-commits-output/