diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 17e9a4109..76ab247fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -88,7 +88,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -115,7 +115,7 @@ jobs: --frozen \ mkdocs gh-deploy --force --no-history - name: Upload artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: documentation path: site/ @@ -142,7 +142,7 @@ jobs: with: python-version: "${{ matrix.python-version }}" - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -208,7 +208,7 @@ jobs: with: version: 10 - name: Use Node.js 20 - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20.x cache: 'pnpm' @@ -241,7 +241,7 @@ jobs: with: version: 10 - name: Use Node.js 20 - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20.x cache: 'pnpm' @@ -290,7 +290,7 @@ jobs: with: version: 10 - name: Use Node.js 20 - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20.x cache: 'pnpm' @@ -333,7 +333,7 @@ jobs: with: version: 10 - name: Use Node.js 20 - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20.x cache: 'pnpm' @@ -459,7 +459,7 @@ jobs: docker create --name frontend-extract ${{ fromJSON(steps.docker-meta.outputs.json).tags[0] }} docker cp frontend-extract:/usr/src/paperless/src/documents/static/frontend src/documents/static/frontend/ - name: Upload frontend artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: frontend-compiled path: src/documents/static/frontend/ @@ -479,7 +479,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true @@ -492,12 +492,12 @@ jobs: sudo apt-get update -qq sudo apt-get install -qq --no-install-recommends gettext liblept5 - name: Download frontend artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: frontend-compiled path: src/documents/static/frontend/ - name: Download documentation artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: documentation path: docs/_build/html/ @@ -560,7 +560,7 @@ jobs: sudo chown -R 1000:1000 paperless-ngx/ tar -cJf paperless-ngx.tar.xz paperless-ngx/ - name: Upload release artifact - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v5 with: name: release path: dist/paperless-ngx.tar.xz @@ -577,7 +577,7 @@ jobs: if: github.ref_type == 'tag' && (startsWith(github.ref_name, 'v') || contains(github.ref_name, '-beta.rc')) steps: - name: Download release artifact - uses: actions/download-artifact@v5 + uses: actions/download-artifact@v6 with: name: release path: ./ @@ -627,7 +627,7 @@ jobs: with: python-version: ${{ env.DEFAULT_PYTHON_VERSION }} - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: version: ${{ env.DEFAULT_UV_VERSION }} enable-cache: true diff --git a/.github/workflows/cleanup-tags.yml b/.github/workflows/cleanup-tags.yml index e0d81bb4a..bc2ae655f 100644 --- a/.github/workflows/cleanup-tags.yml +++ b/.github/workflows/cleanup-tags.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Clean temporary images if: "${{ env.TOKEN != '' }}" - uses: stumpylog/image-cleaner-action/ephemeral@v0.11.0 + uses: stumpylog/image-cleaner-action/ephemeral@v0.12.0 with: token: "${{ env.TOKEN }}" owner: "${{ github.repository_owner }}" @@ -53,7 +53,7 @@ jobs: steps: - name: Clean untagged images if: "${{ env.TOKEN != '' }}" - uses: stumpylog/image-cleaner-action/untagged@v0.11.0 + uses: stumpylog/image-cleaner-action/untagged@v0.12.0 with: token: "${{ env.TOKEN }}" owner: "${{ github.repository_owner }}" diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b8acfeeff..77913ba81 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: uses: actions/checkout@v5 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@v4 with: languages: ${{ matrix.language }} # If you wish to specify custom queries, you can do so here or in a config file. @@ -45,4 +45,4 @@ jobs: # Prefix the list here with "+" to use these queries and those in the config file. # queries: ./path/to/local/query, your-org/your-repo/queries@main - name: Perform CodeQL Analysis - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@v4 diff --git a/.github/workflows/translate-strings.yml b/.github/workflows/translate-strings.yml index f94191f19..a3326cbcf 100644 --- a/.github/workflows/translate-strings.yml +++ b/.github/workflows/translate-strings.yml @@ -23,7 +23,7 @@ jobs: sudo apt-get update -qq sudo apt-get install -qq --no-install-recommends gettext - name: Install uv - uses: astral-sh/setup-uv@v6 + uses: astral-sh/setup-uv@v7 with: enable-cache: true - name: Install backend python dependencies @@ -38,7 +38,7 @@ jobs: with: version: 10 - name: Use Node.js 20 - uses: actions/setup-node@v5 + uses: actions/setup-node@v6 with: node-version: 20.x cache: 'pnpm' @@ -61,7 +61,7 @@ jobs: cd src-ui pnpm run ng extract-i18n - name: Commit changes - uses: stefanzweifel/git-auto-commit-action@v6 + uses: stefanzweifel/git-auto-commit-action@v7 with: file_pattern: 'src-ui/messages.xlf src/locale/en_US/LC_MESSAGES/django.po' commit_message: "Auto translate strings"