@@ -24,27 +24,13 @@ jobs:
2424
2525 steps :
2626 - name : Checkout
27- uses : actions/checkout@v2
27+ uses : actions/checkout@v3
2828
2929 - name : Set up PDM
30- uses : pdm-project/setup-pdm@v2.6
30+ uses : pdm-project/setup-pdm@v3
3131 with :
3232 python-version : " 3.8"
3333
34- - name : Set cache variables
35- id : set_variables
36- run : |
37- echo "::set-output name=PIP_CACHE::$(pip cache dir)"
38- echo "::set-output name=PDM_CACHE::$(pdm config cache_dir)"
39-
40- - name : Set up cache
41- uses : actions/cache@v2
42- with :
43- path : |
44- ${{ steps.set_variables.outputs.PIP_CACHE }}
45- ${{ steps.set_variables.outputs.PDM_CACHE }}
46- key : checks-cache
47-
4834 - name : Resolving dependencies
4935 run : pdm lock
5036
@@ -76,33 +62,19 @@ jobs:
7662 - " 3.8"
7763 - " 3.9"
7864 - " 3.10"
79- - " 3.11-dev "
65+ - " 3.11"
8066
8167 runs-on : ${{ matrix.os }}
8268
8369 steps :
8470 - name : Checkout
85- uses : actions/checkout@v2
71+ uses : actions/checkout@v3
8672
8773 - name : Set up PDM
88- uses : pdm-project/setup-pdm@v2.6
74+ uses : pdm-project/setup-pdm@v3
8975 with :
9076 python-version : ${{ matrix.python-version }}
9177
92- - name : Set cache variables
93- id : set_variables
94- run : |
95- echo "::set-output name=PIP_CACHE::$(pip cache dir)"
96- echo "::set-output name=PDM_CACHE::$(pdm config cache_dir)"
97-
98- - name : Set up cache
99- uses : actions/cache@v2
100- with :
101- path : |
102- ${{ steps.set_variables.outputs.PIP_CACHE }}
103- ${{ steps.set_variables.outputs.PDM_CACHE }}
104- key : tests-cache-${{ runner.os }}-${{ matrix.python-version }}
105-
10678 - name : Install dependencies
10779 run : pdm install --no-editable -G duty -G tests -G docs
10880
0 commit comments