File tree Expand file tree Collapse file tree 4 files changed +497
-525
lines changed Expand file tree Collapse file tree 4 files changed +497
-525
lines changed Original file line number Diff line number Diff line change 35
35
36
36
steps :
37
37
- name : Checkout repository
38
- uses : actions/checkout@v2
38
+ uses : actions/checkout@v3
39
39
40
40
# Initializes the CodeQL tools for scanning.
41
41
- name : Initialize CodeQL
Original file line number Diff line number Diff line change 9
9
name : Build with Poetry and Publish to PyPI
10
10
runs-on : ubuntu-latest
11
11
steps :
12
- - uses : actions/checkout@v2
13
- - uses : actions/setup-python@v2
12
+ - uses : actions/checkout@v3
13
+ - uses : actions/setup-python@v3
14
14
- name : Install and configure Poetry
15
15
run : |
16
16
pip install poetry
Original file line number Diff line number Diff line change @@ -27,19 +27,19 @@ jobs:
27
27
- " 3.8"
28
28
- " 3.9"
29
29
- " 3.10"
30
- - " 3.11.0-rc.2 "
30
+ - " 3.11"
31
31
steps :
32
- - uses : actions/checkout@v2
32
+ - uses : actions/checkout@v3
33
33
- name : Set up Python ${{ matrix.python-version }}
34
- uses : actions/setup-python@v2
34
+ uses : actions/setup-python@v3
35
35
with :
36
36
python-version : ${{ matrix.python-version }}
37
37
- name : Get full python version
38
38
id : full-python-version
39
39
run : |
40
- echo ::set-output name= version:: $(python -c "import sys; print('- '.join(str(v) for v in sys.version_info[:3]))")
40
+ echo version= $(python -c "import sys, platform ; print('. '.join(str(v) for v in sys.version_info[:3]) + '_' + platform.machine())") >> $GITHUB_OUTPUT
41
41
- name : Set up cache
42
- uses : actions/cache@v2
42
+ uses : actions/cache@v3
43
43
with :
44
44
path : .venv
45
45
key : ${{ runner.os }}-venv-${{ steps.full-python-version.outputs.version }}-${{ hashFiles('**/poetry.lock') }}
You can’t perform that action at this time.
0 commit comments