2121 outputs :
2222 error-check : ${{ steps.error-check.conclusion }}
2323 steps :
24- - uses : actions/checkout@v2
24+ - uses : actions/checkout@v3
2525 - name : Setup Python ${{ matrix.python-version }}
26- uses : actions/setup-python@v2
26+ uses : actions/setup-python@v4
2727 with :
2828 python-version : ${{ matrix.python-version }}
2929 - name : Install linter
@@ -49,25 +49,14 @@ jobs:
4949 matrix :
5050 python-version : [ 3.8, 3.9, "3.10" ]
5151 steps :
52- - uses : actions/checkout@v2
52+ - uses : actions/checkout@v3
5353 - name : Setup Python ${{ matrix.python-version }}
54- uses : actions/setup-python@v2
54+ uses : actions/setup-python@v4
5555 with :
5656 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
6958 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
7160 - name : Install base package
7261 run : pip install .
7362 - name : Check package import works
@@ -130,9 +119,9 @@ jobs:
130119 matrix :
131120 python-version : [ 3.8, 3.9, "3.10" ]
132121 steps :
133- - uses : actions/checkout@v2
122+ - uses : actions/checkout@v3
134123 - name : Setup Python ${{ matrix.python-version }}
135- uses : actions/setup-python@v2
124+ uses : actions/setup-python@v4
136125 with :
137126 python-version : ${{ matrix.python-version }}
138127 - name : Install dependencies with type hints
0 commit comments