File tree 4 files changed +24
-8
lines changed
4 files changed +24
-8
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
+ permissions :
12
+ contents : read
11
13
runs-on : ubuntu-latest
12
14
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-python@v2
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ persist-credentials : false
18
+ - uses : actions/setup-python@v5
15
19
- run : pip install black
16
20
- run : black pywisetransfer test
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
test :
10
+ permissions :
11
+ contents : read
10
12
environment : release-live
11
13
runs-on : ubuntu-latest
12
14
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-python@v2
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ persist-credentials : false
18
+ - uses : actions/setup-python@v5
15
19
- run : pip install poetry
16
20
- run : poetry config pypi-token.pypi ${{ secrets.PYPI_API_KEY }}
17
21
- run : poetry publish --build
Original file line number Diff line number Diff line change 7
7
8
8
jobs :
9
9
test :
10
+ permissions :
11
+ contents : read
10
12
environment : release-test
11
13
runs-on : ubuntu-latest
12
14
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-python@v2
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ persist-credentials : false
18
+ - uses : actions/setup-python@v5
15
19
- run : pip install poetry
16
20
- run : poetry config repositories.testpypi https://test.pypi.org/legacy/
17
21
- run : poetry config pypi-token.testpypi ${{ secrets.TEST_PYPI_API_KEY }}
Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
test :
11
+ permissions :
12
+ contents : read
11
13
runs-on : ubuntu-latest
12
14
steps :
13
- - uses : actions/checkout@v2
14
- - uses : actions/setup-python@v2
15
+ - uses : actions/checkout@v4
16
+ with :
17
+ persist-credentials : false
18
+ - uses : actions/setup-python@v5
15
19
- run : pip install .[dev]
16
20
- run : pytest
You can’t perform that action at this time.
0 commit comments