🌐 AI搜索 & 代理 主页
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: monthly
groups:
actions:
patterns:
- "*"
26 changes: 13 additions & 13 deletions .github/workflows/update-lint-and-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
matrix:
version: [3.14, 3.13, 3.12, 3.11, '3.10']
steps:
- uses: styfle/cancel-workflow-action@main
- uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-python@master
- uses: actions/setup-python@v6.0.0
with:
python-version: 3
- name: Install dependencies
Expand All @@ -28,7 +28,7 @@ jobs:
pip install requests cogapp polib transifex-python sphinx-intl blurb six
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
working-directory: /usr/local/bin
- uses: actions/checkout@master
- uses: actions/checkout@v5.0.0
with:
ref: ${{ matrix.version }}
fetch-depth: 0
Expand Down Expand Up @@ -59,7 +59,7 @@ jobs:
- run: git commit -m "$(python manage_translation.py generate_commit_msg)"
if: env.SIGNIFICANT_CHANGES
- name: Push commit
uses: ad-m/github-push-action@master
uses: ad-m/github-push-action@v1.0.0
if: env.SIGNIFICANT_CHANGES
with:
branch: ${{ matrix.version }}
Expand All @@ -74,11 +74,11 @@ jobs:
needs: ['update']
continue-on-error: true
steps:
- uses: actions/setup-python@master
- uses: actions/setup-python@v6.0.0
with:
python-version: 3
- run: pip install sphinx-lint
- uses: actions/checkout@master
- uses: actions/checkout@v5.0.0
with:
ref: ${{ matrix.version }}
- uses: rffontenelle/sphinx-lint-problem-matcher@v1.0.0
Expand All @@ -93,16 +93,16 @@ jobs:
format: [html, latex, epub]
needs: ['update']
steps:
- uses: actions/setup-python@master
- uses: actions/setup-python@v6.0.0
with:
python-version: 3.12 # pin for Sphinx 3.4.3 in 3.10 branch (see #63)
- uses: actions/checkout@master
- uses: actions/checkout@v5.0.0
with:
repository: python/cpython
ref: ${{ matrix.version }}
- run: make venv
working-directory: ./Doc
- uses: actions/checkout@master
- uses: actions/checkout@v5.0.0
with:
ref: ${{ matrix.version }}
path: Doc/locales/pl/LC_MESSAGES
Expand All @@ -111,7 +111,7 @@ jobs:
- uses: sphinx-doc/github-problem-matcher@v1.1
- run: make -e SPHINXOPTS="--color -D language='pl' -W --keep-going" ${{ matrix.format }}
working-directory: ./Doc
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v5.0.0
if: success() || failure()
with:
name: build-${{ matrix.version }}-${{ matrix.format }}
Expand All @@ -124,13 +124,13 @@ jobs:
version: [3.14, 3.13, 3.12, 3.11, '3.10']
needs: ['build']
steps:
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v6.0.0
with:
name: build-${{ matrix.version }}-latex
- run: sudo apt-get update
- run: sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
- run: make
- uses: actions/upload-artifact@master
- uses: actions/upload-artifact@v5.0.0
with:
name: build-${{ matrix.version }}-pdf
path: .
Expand All @@ -147,7 +147,7 @@ jobs:
with:
python-version: 3.x
- uses: astral-sh/setup-uv@v5
- uses: actions/download-artifact@master
- uses: actions/download-artifact@v6.0.0
with:
name: build-${{ matrix.version }}-epub
- run: uvx epubcheck