11name : Pylint
22
3- on : [ push ]
3+ on : [push]
44
55jobs :
66 build :
@@ -13,34 +13,36 @@ jobs:
1313# "3.12"
1414# ]
1515 steps :
16- - uses : actions/checkout@v3
17- - uses : actions/setup-python@v4
18- with :
19- python-version : ' 3.11'
16+ 17+ with :
18+ persist-credentials : false
19+ 20+ with :
21+ python-version : ' 3.13'
2022 # cache: 'pipenv' # caching pipenv dependencies
21- - name : Install poetry and pipx
22- run : |
23- pip install poetry && pip install pipx
23+ - name : Install poetry and pipx
24+ run : |
25+ pip install poetry && pip install pipx
2426
25- - name : Install global dependencies
26- run : |
27- pipx install isort && pipx install black && pipx install bandit && \
28- pipx install pylint && pipx install pre-commit && pipx install poetry
27+ - name : Install global dependencies
28+ run : |
29+ pipx install isort && pipx install black && pipx install bandit && \
30+ pipx install pylint && pipx install pre-commit && pipx install poetry
2931
30- - name : Install Dependencies
31- run : poetry install --with dev
32+ - name : Install Dependencies
33+ run : poetry install --with dev
3234
33- - name : Run Makefile
34- run : make check
35- - name : Run make
36- run : poetry run make publish
37- - name : Upload Package
38- uses : actions/upload-artifact@v3.1.2
39- with :
40- name : packages
41- path : dist/
42- if-no-files-found : error
43- retention-days : 1
35+ - name : Run Makefile
36+ run : make check
37+ - name : Run make
38+ run : poetry run make publish
39+ - name : Upload Package
40+ uses : actions/upload-artifact@v4.5.0
41+ with :
42+ name : packages
43+ path : dist/
44+ if-no-files-found : error
45+ retention-days : 1
4446
4547
4648 pypi-publish :
@@ -53,11 +55,11 @@ jobs:
5355 id-token : write # IMPORTANT: this permission is mandatory for trusted publishing
5456 # if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
5557 steps :
56- - name : Get packages
57- uses : actions/download-artifact@v3.0.2
58- with :
59- name : packages
60- path : dist/
61- - name : Publish package distributions to PyPI
62- uses : pypa/gh-action-pypi-publish@release/v1
58+ - name : Get packages
59+ uses : actions/download-artifact@v4.1.8
60+ with :
61+ name : packages
62+ path : dist/
63+ - name : Publish package distributions to PyPI
64+ uses : pypa/gh-action-pypi-publish@v1.12.3
6365 needs : build
0 commit comments