99 runs-on : ubuntu-latest
1010 steps :
1111 - name : Checkout source code
12- uses : actions/checkout@v2
13- - name : Set up Python 3.9
14- uses : actions/setup-python@v2
12+ uses : actions/checkout@v3
13+ - name : Set up Python
14+ uses : actions/setup-python@v4
1515 with :
16- python-version : 3.9
16+ python-version : " 3.10 "
1717 - name : Install dependencies
1818 run : python -m pip install tox
1919 - name : Run tox
2323 runs-on : ubuntu-latest
2424 strategy :
2525 matrix :
26- python : [3.6, 3.7, 3.8, 3.9 ]
26+ python : ["3.7", "3.8", "3.9", "3.10" ]
2727 db : [postgres, mysql, sqlite3]
2828 env :
2929 DATABASE_TYPE : " ${{ matrix.db }}"
6262 --health-retries 5
6363 steps :
6464 - name : Checkout source code
65- uses : actions/checkout@v2
65+ uses : actions/checkout@v3
6666 - name : Set up Python ${{ matrix.python }}
67- uses : actions/setup-python@v2
67+ uses : actions/setup-python@v4
6868 with :
6969 python-version : ${{ matrix.python }}
7070 - name : Install Python dependencies
@@ -93,19 +93,19 @@ jobs:
9393 runs-on : ubuntu-latest
9494 steps :
9595 - name : Checkout source code
96- uses : actions/checkout@v2
96+ uses : actions/checkout@v3
9797 with :
9898 fetch-depth : 0
99- - name : Set up Python 3.9
100- uses : actions/setup-python@v2
99+ - name : Set up Python
100+ uses : actions/setup-python@v4
101101 with :
102- python-version : 3.9
102+ python-version : " 3.10 "
103103 - name : Install dependencies
104104 run : python -m pip install tox
105105 - name : Build docs (via tox)
106106 run : tox -e docs
107107 - name : Archive build results
108- uses : actions/upload-artifact@v2
108+ uses : actions/upload-artifact@v3
109109 with :
110110 name : html-docs-build
111111 path : docs/_build/html
@@ -120,13 +120,13 @@ jobs:
120120 COMPOSE_FILE : ${{ matrix.db == 'mysql' && 'docker-compose.yml' || (matrix.db == 'postgres' && 'docker-compose-pg.yml') || 'docker-compose-sqlite3.yml' }}
121121 steps :
122122 - name : Checkout source code
123- uses : actions/checkout@v2
123+ uses : actions/checkout@v3
124124 with :
125125 fetch-depth : 0
126- - name : Set up Python 3.9
127- uses : actions/setup-python@v2
126+ - name : Set up Python
127+ uses : actions/setup-python@v4
128128 with :
129- python-version : 3.9
129+ python-version : " 3.10 "
130130 - name : Build docker-compose service
131131 run : |
132132 docker-compose build --build-arg UID=$(id -u) --build-arg GID=$(id -g)
0 commit comments