@@ -16,10 +16,10 @@ jobs:
1616matrix :
1717version :[3.14, 3.13, 3.12, 3.11, '3.10']
1818steps :
19- -uses :styfle/cancel-workflow-action@main
19+ -uses :styfle/cancel-workflow-action@0.12.1
2020with :
2121access_token :${{ secrets.GITHUB_TOKEN }}
22- -uses :actions/setup-python@master
22+ -uses :actions/setup-python@v6.0.0
2323with :
2424python-version :3
2525 -name :Install dependencies
2828 pip install requests cogapp polib transifex-python sphinx-intl blurb six
2929 curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
3030working-directory :/usr/local/bin
31- -uses :actions/checkout@master
31+ -uses :actions/checkout@v5.0.0
3232with :
3333ref :${{ matrix.version }}
3434fetch-depth :0
5959 -run :git commit -m "$(python manage_translation.py generate_commit_msg)"
6060if :env.SIGNIFICANT_CHANGES
6161 -name :Push commit
62- uses :ad-m/github-push-action@master
62+ uses :ad-m/github-push-action@v1.0.0
6363if :env.SIGNIFICANT_CHANGES
6464with :
6565branch :${{ matrix.version }}
@@ -74,11 +74,11 @@ jobs:
7474needs :['update']
7575continue-on-error :true
7676steps :
77- -uses :actions/setup-python@master
77+ -uses :actions/setup-python@v6.0.0
7878with :
7979python-version :3
8080 -run :pip install sphinx-lint
81- -uses :actions/checkout@master
81+ -uses :actions/checkout@v5.0.0
8282with :
8383ref :${{ matrix.version }}
8484 -uses :rffontenelle/sphinx-lint-problem-matcher@v1.0.0
@@ -93,16 +93,16 @@ jobs:
9393format :[html, latex, epub]
9494needs :['update']
9595steps :
96- -uses :actions/setup-python@master
96+ -uses :actions/setup-python@v6.0.0
9797with :
9898python-version :3.12 # pin for Sphinx 3.4.3 in 3.10 branch (see #63)
99- -uses :actions/checkout@master
99+ -uses :actions/checkout@v5.0.0
100100with :
101101repository :python/cpython
102102ref :${{ matrix.version }}
103103 -run :make venv
104104working-directory :./Doc
105- -uses :actions/checkout@master
105+ -uses :actions/checkout@v5.0.0
106106with :
107107ref :${{ matrix.version }}
108108path :Doc/locales/pl/LC_MESSAGES
@@ -111,7 +111,7 @@ jobs:
111111 -uses :sphinx-doc/github-problem-matcher@v1.1
112112 -run :make -e SPHINXOPTS="--color -D language='pl' -W --keep-going" ${{ matrix.format }}
113113working-directory :./Doc
114- -uses :actions/upload-artifact@master
114+ -uses :actions/upload-artifact@v5.0.0
115115if :success() || failure()
116116with :
117117name :build-${{ matrix.version }}-${{ matrix.format }}
@@ -124,13 +124,13 @@ jobs:
124124version :[3.14, 3.13, 3.12, 3.11, '3.10']
125125needs :['build']
126126steps :
127- -uses :actions/download-artifact@master
127+ -uses :actions/download-artifact@v6.0.0
128128with :
129129name :build-${{ matrix.version }}-latex
130130 -run :sudo apt-get update
131131 -run :sudo apt-get install -y latexmk texlive-xetex fonts-freefont-otf xindy
132132 -run :make
133- -uses :actions/upload-artifact@master
133+ -uses :actions/upload-artifact@v5.0.0
134134with :
135135name :build-${{ matrix.version }}-pdf
136136path :.
@@ -147,7 +147,7 @@ jobs:
147147with :
148148python-version :3.x
149149 -uses :astral-sh/setup-uv@v5
150- -uses :actions/download-artifact@master
150+ -uses :actions/download-artifact@v6.0.0
151151with :
152152name :build-${{ matrix.version }}-epub
153153 -run :uvx epubcheck