21
21
outputs :
22
22
error-check : ${{ steps.error-check.conclusion }}
23
23
steps :
24
- - uses : actions/checkout@v2
24
+ - uses : actions/checkout@v3
25
25
- name : Setup Python ${{ matrix.python-version }}
26
- uses : actions/setup-python@v2
26
+ uses : actions/setup-python@v4
27
27
with :
28
28
python-version : ${{ matrix.python-version }}
29
29
- name : Install linter
@@ -49,25 +49,14 @@ jobs:
49
49
matrix :
50
50
python-version : [ 3.8, 3.9, "3.10" ]
51
51
steps :
52
- - uses : actions/checkout@v2
52
+ - uses : actions/checkout@v3
53
53
- name : Setup Python ${{ matrix.python-version }}
54
- uses : actions/setup-python@v2
54
+ uses : actions/setup-python@v4
55
55
with :
56
56
python-version : ${{ matrix.python-version }}
57
- - name : Locate pip cache
58
- id : loc-pip-cache
59
- run : echo "::set-output name=dir::$(pip cache dir)"
60
- - name : Restore pip dependencies from cache
61
- uses : actions/cache@v2
62
- with :
63
- path : ${{ steps.loc-pip-cache.outputs.dir }}
64
- key : build_and_test-${{ runner.os }}-pip-${{ matrix.python-version }}-${{ hashFiles('setup.cfg') }}
65
- restore-keys : |
66
- build_and_test-${{ runner.os }}-pip-${{ matrix.python-version }}-
67
- build_and_test-${{ runner.os }}-pip-
68
- - name : Install DisCoPy from GitHub
57
+ - name : Install DisCoPy 0.5 from GitHub
69
58
if : github.ref_name != 'release' && github.ref_name != 'beta'
70
- run : pip install git+https://github.com/oxford-quantum-group /discopy
59
+ run : pip install git+https://github.com/discopy /discopy@0.5
71
60
- name : Install base package
72
61
run : pip install .
73
62
- name : Check package import works
@@ -130,9 +119,9 @@ jobs:
130
119
matrix :
131
120
python-version : [ 3.8, 3.9, "3.10" ]
132
121
steps :
133
- - uses : actions/checkout@v2
122
+ - uses : actions/checkout@v3
134
123
- name : Setup Python ${{ matrix.python-version }}
135
- uses : actions/setup-python@v2
124
+ uses : actions/setup-python@v4
136
125
with :
137
126
python-version : ${{ matrix.python-version }}
138
127
- name : Install dependencies with type hints
0 commit comments