File tree Expand file tree Collapse file tree 3 files changed +30
-11
lines changed Expand file tree Collapse file tree 3 files changed +30
-11
lines changed Original file line number Diff line number Diff line change 99 deploy :
1010 runs-on : ubuntu-latest
1111 steps :
12- - uses : actions/checkout@v2
12+ - uses : actions/checkout@v5
13+ with :
14+ persist-credentials : false
1315 - name : Install poetry
1416 run : pipx install poetry
1517 - name : Set up Python
16- uses : actions/setup-python@v4
18+ uses : actions/setup-python@v6
1719 with :
1820 python-version : " 3.11"
1921 - name : Install deps
2022 run : poetry install
2123 - name : Set version
22- run : poetry version "${{ github.ref_name } }"
24+ run : poetry version "${GITHUB_REF_NAME }"
2325 - name : Release package
2426 env :
2527 POETRY_PYPI_TOKEN_PYPI : ${{ secrets.PYPI_TOKEN }}
Original file line number Diff line number Diff line change @@ -13,11 +13,13 @@ jobs:
1313 deploy_docs :
1414 runs-on : ubuntu-latest
1515 steps :
16- - uses : actions/checkout@v4
16+ - uses : actions/checkout@v5
17+ with :
18+ persist-credentials : false
1719 - name : Setup pnpm
18- uses : pnpm/action-setup@v2
20+ uses : pnpm/action-setup@v4
1921 - name : Setup Node.js
20- uses : actions/setup-node@v3
22+ uses : actions/setup-node@v6
2123 with :
2224 node-version : 18
2325 cache : pnpm
3133 git config --global lfs.allowincompletepush true
3234
3335 - name : Deploy
34- uses : peaceiris/actions-gh-pages@v3
36+ uses : peaceiris/actions-gh-pages@v4
3537 with :
3638 personal_token : ${{ secrets.PERSONAL_TOKEN }}
3739 external_repository : taskiq-python/taskiq-python.github.io
Original file line number Diff line number Diff line change @@ -2,7 +2,18 @@ name: Testing taskiq
22
33on :
44 pull_request :
5+ paths-ignore :
6+ - ' docs/**'
7+ - ' *.md'
58 push :
9+ paths-ignore :
10+ - ' docs/**'
11+ - ' *.md'
12+
13+ permissions :
14+ actions : read
15+ contents : read
16+ pull-requests : read
617
718jobs :
819 lint :
@@ -14,11 +25,13 @@ jobs:
1425 - mypy
1526 runs-on : ubuntu-latest
1627 steps :
17- - uses : actions/checkout@v2
28+ - uses : actions/checkout@v5
29+ with :
30+ persist-credentials : false
1831 - name : Install poetry
1932 run : pipx install poetry
2033 - name : Set up Python
21- uses : actions/setup-python@v4
34+ uses : actions/setup-python@v6
2235 with :
2336 python-version : " 3.11"
2437 cache : " poetry"
@@ -34,11 +47,13 @@ jobs:
3447 os : [ubuntu-latest, windows-latest, macos-latest]
3548 runs-on : " ${{ matrix.os }}"
3649 steps :
37- - uses : actions/checkout@v2
50+ - uses : actions/checkout@v5
51+ with :
52+ persist-credentials : false
3853 - name : Install poetry
3954 run : pipx install poetry
4055 - name : Set up Python
41- uses : actions/setup-python@v4
56+ uses : actions/setup-python@v6
4257 with :
4358 python-version : " ${{ matrix.py_version }}"
4459 cache : " poetry"
You can’t perform that action at this time.
0 commit comments