@@ -27,14 +27,14 @@ jobs:
27
27
fetch-depth : 0
28
28
29
29
- name : Set up Python 3.9
30
- uses : actions/setup-python@v1
30
+ uses : actions/setup-python@v5
31
31
with :
32
32
python-version : 3.9
33
33
34
34
- name : Install dependencies
35
35
run : |
36
36
python -m pip install --upgrade pip
37
- python -m pip install --upgrade pipenv==2022 .10.4 pre-commit
37
+ python -m pip install --upgrade pipenv==2023 .10.3 pre-commit
38
38
pipenv install --dev --skip-lock
39
39
40
40
- uses : actions/cache@v3
@@ -72,19 +72,19 @@ jobs:
72
72
fail-fast : false
73
73
matrix :
74
74
os : [ubuntu-latest, macos-latest, windows-latest]
75
- python-version : ['3.8', '3.9', '3.10', '3.11']
75
+ python-version : ['3.8', '3.9', '3.10', '3.11', '3.12' ]
76
76
steps :
77
77
- uses : actions/checkout@v4
78
78
79
79
- name : Set up Python ${{ matrix.python-version }}
80
- uses : actions/setup-python@v1
80
+ uses : actions/setup-python@v5
81
81
with :
82
82
python-version : ${{ matrix.python-version }}
83
83
84
84
- name : Install dependencies
85
85
run : |
86
86
python -m pip install --upgrade pip
87
- python -m pip install --upgrade pipenv==2022 .10.4
87
+ python -m pip install --upgrade pipenv==2023 .10.3
88
88
pipenv install --system --dev --skip-lock
89
89
90
90
- name : Test with pytest
95
95
env :
96
96
GITGUARDIAN_API_KEY : ${{ secrets.GITGUARDIAN_API_KEY }}
97
97
98
- - uses : codecov/codecov-action@v1
98
+ - uses : codecov/codecov-action@v3
99
99
with :
100
100
file : ./coverage.xml
101
101
flags : unittests
@@ -118,7 +118,7 @@ jobs:
118
118
echo "tag=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_OUTPUT
119
119
120
120
- name : Set up Python
121
- uses : actions/setup-python@v2
121
+ uses : actions/setup-python@v5
122
122
with :
123
123
python-version : ' 3.x'
124
124
@@ -129,7 +129,7 @@ jobs:
129
129
python setup.py sdist bdist_wheel
130
130
131
131
- name : Publish distribution 📦 to PyPI
132
- uses : pypa/gh-action-pypi-publish@master
132
+ uses : pypa/gh-action-pypi-publish@release/v1
133
133
with :
134
134
user : __token__
135
135
password : ${{ secrets.pypi_password }}
0 commit comments