ci: update checkout and selected language setup Actions (#1848)

Co-authored-by: krahets <[email protected]>
This commit is contained in:
Pádraic Slattery
2026-10-11 01:27:27 +08:00
committed by GitHub
co-authored by krahets
parent 4d4e22a507
commit 112ee773e8
13 changed files with 40 additions and 16 deletions
+4 -2
View File
@@ -7,11 +7,13 @@ on:
push:
branches: ["main"]
paths:
- ".github/workflows/python.yml"
- "codes/python/**/*.py"
- "en/codes/python/**/*.py"
pull_request:
branches: ["main"]
paths:
- ".github/workflows/python.yml"
- "codes/python/**/*.py"
- "en/codes/python/**/*.py"
workflow_dispatch:
@@ -29,9 +31,9 @@ jobs:
python-version: ["3.10"]
code-dir: ["codes/python", "en/codes/python"]
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies