diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5378d17754..fa529da930 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,15 +31,15 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ env.PYTHON_VERSION }}" - name: Execute pre-commit - uses: pre-commit/action@v3.0.0 + uses: pre-commit/action@v3.0.1 # Build the documentation and upload it as an artifact. build-doc: @@ -51,10 +51,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ env.PYTHON_VERSION }}" @@ -66,7 +66,7 @@ jobs: run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache pip packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('requirements-dev.txt') }} @@ -80,7 +80,7 @@ jobs: run: make generate-doc - name: Upload documentation as a page artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v3 with: path: doc/build/html @@ -94,10 +94,10 @@ jobs: steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set up NodeJS ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE_VERSION }}" @@ -106,7 +106,7 @@ jobs: run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT - name: Cache Node modules - uses: actions/cache@v3 + uses: actions/cache@v4 id: yarn-cache with: path: ${{ steps.yarn-cache-dir-path.outputs.dir }} @@ -124,7 +124,7 @@ jobs: run: make build-front - name: Upload font-end assets for subsequent tests - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: assets path: dist @@ -184,10 +184,10 @@ jobs: mysql root password: "ci_root_password" - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Download previously built assets - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: assets path: dist @@ -201,7 +201,7 @@ jobs: run: echo "dir=$(pip cache dir)" >> $GITHUB_OUTPUT - name: Cache pip packages - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ steps.pip-cache.outputs.dir }} key: ${{ runner.os }}-pip-${{ hashFiles('requirements*.txt') }} @@ -209,7 +209,7 @@ jobs: ${{ runner.os }}-pip- - name: Cache Node modules - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ~/.npm key: ${{ runner.os }}-node-${{ hashFiles('zmd/package-lock.json') }} @@ -217,12 +217,12 @@ jobs: ${{ runner.os }}-node- - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ env.PYTHON_VERSION }}" - name: Set up NodeJS ${{ env.NODE_VERSION }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "${{ env.NODE_VERSION }}" @@ -259,7 +259,7 @@ jobs: steps: - name: Set up Python ${{ env.PYTHON_VERSION }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "${{ env.PYTHON_VERSION }}" @@ -290,4 +290,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v2 + uses: actions/deploy-pages@v4