File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,21 +12,25 @@ runs:
12
12
using : composite
13
13
steps :
14
14
- name : Get tag release without v
15
+ shell : bash
15
16
run : |
16
17
TAG=${{ github.ref_name }}
17
18
echo "VERSION=${TAG#v}" >> "$GITHUB_ENV"
18
19
echo "Tag without v is: ${VERSION}"
19
20
- name : Update Release Tag
21
+ shell : bash
20
22
run : sed -i "s/^version = [^ ]*/version = ${{ env.VERSION }}/" setup.cfg
21
23
- name : Set up Python
22
24
uses : actions/setup-python@v3
23
25
with :
24
26
python-version : ' 3.12.1'
25
27
- name : Install Dependencies
28
+ shell : bash
26
29
run : |
27
30
python -m pip install --upgrade pip
28
31
pip install build
29
32
- name : Build Python Package
33
+ shell : bash
30
34
run : |
31
35
python -m pip install --upgrade build
32
36
python -m build
Original file line number Diff line number Diff line change 10
10
with :
11
11
python-version : ' 3.12.1'
12
12
- name : Install dependencies
13
+ shell : bash
13
14
run : |
14
15
python -m pip install --upgrade pip
15
16
pip install pylint
16
17
- name : Analysing the code with pylint
18
+ shell : bash
17
19
run : |
18
20
pylint $(git ls-files '*.py')
Original file line number Diff line number Diff line change 21
21
runs-on : ubuntu-latest
22
22
needs : tests
23
23
permissions :
24
- contents : write
24
+ contents : write
25
25
steps :
26
26
- name : Checkout
27
27
uses : actions/checkout@v4
You can’t perform that action at this time.
0 commit comments