1414jobs :
1515 test-image :
1616 name : Test app start
17- runs-on : ubuntu-20 .04
17+ runs-on : ubuntu-22 .04
1818
1919 steps :
2020 - name : Checkout
2121 uses : actions/checkout@v2
2222
2323 - name : Install copier
2424 run : |
25- pip install copier==7.1.0
26- pip install copier-templates-extensions
27- pip install pyyaml-include==1.4.1
28- # hardcode pydantic version to avoid dependency conflict with copier
29- pip install pydantic==1.10.2
25+ pip install copier==9.4.0
26+ pip install copier-templates-extensions==0.3.1
3027
3128 - name : Test image
3229 env :
@@ -37,10 +34,10 @@ jobs:
3734
3835 test-template :
3936 name : Test template
40- runs-on : ubuntu-20 .04
37+ runs-on : ubuntu-22 .04
4138 strategy :
4239 matrix :
43- python-version : [ "3.8", "3.9", "3.10"]
40+ python-version : [ "3.8", "3.9", "3.10", "3.11" ]
4441
4542 services :
4643 postgres :
7168
7269 - name : Install copier
7370 run : |
74- pip install copier==7.1.0
75- pip install copier-templates-extensions
76- pip install pyyaml-include==1.4.1
77- # hardcode pydantic version to avoid dependency conflict with copier
78- pip install pydantic==1.10.2
79- python -m copier --defaults . bot-example
71+ pip install copier==9.4.0
72+ pip install copier-templates-extensions==0.3.1
73+ python -m copier copy --trust --force . bot-example
8074
8175
8276 - name : Set up Python ${{ matrix.python-version }}
9084
9185 - name : Set up cache
9286 id : cache
93- uses : actions/cache@v2
87+ uses : actions/cache@v3
9488 with :
9589 path : |
9690 ~/.cache/pip
@@ -116,23 +110,20 @@ jobs:
116110
117111 lint :
118112 name : Lint
119- runs-on : ubuntu-20 .04
113+ runs-on : ubuntu-22 .04
120114 strategy :
121115 matrix :
122- python-version : ["3.8", "3.9", "3.10"]
116+ python-version : ["3.8", "3.9", "3.10", "3.11" ]
123117
124118 steps :
125119 - name : Checkout
126120 uses : actions/checkout@v2
127121
128122 - name : Install copier
129123 run : |
130- pip install copier==7.1.0
131- pip install copier-templates-extensions
132- pip install pyyaml-include==1.4.1
133- # hardcode pydantic version to avoid dependency conflict with copier
134- pip install pydantic==1.10.2
135- python -m copier --defaults . bot-example
124+ pip install copier==9.4.0
125+ pip install copier-templates-extensions==0.3.1
126+ python -m copier copy --trust --force . bot-example
136127
137128 - name : Set up Python ${{ matrix.python-version }}
138129 uses : actions/setup-python@v2
@@ -145,7 +136,7 @@ jobs:
145136
146137 - name : Set up cache
147138 id : cache
148- uses : actions/cache@v2
139+ uses : actions/cache@v3
149140 with :
150141 path : |
151142 ~/.cache/pip
0 commit comments