@@ -35,18 +35,18 @@ jobs:
3535 strategy :
3636 matrix :
3737 python-version : [ '3.8', '3.9', '3.10', '3.11' ]
38- os : [ubuntu-latest, macos-12 ]
38+ os : [ubuntu-latest, macos-latest ]
3939 runs-on : ${{ matrix.os }}
4040
4141 steps :
42- - uses : actions/checkout@v4
42+ - uses : actions/checkout@v6
4343 - name : Set up Python ${{ matrix.python-version }}
44- uses : actions/setup-python@v4
44+ uses : actions/setup-python@v6
4545 with :
4646 python-version : ${{ matrix.python-version }}
4747 - name : Init Poetry cache
4848 id : cached-poetry
49- uses : actions/cache@v3
49+ uses : actions/cache@v5
5050 with :
5151 path : ${{ env.POETRY_HOME }}
5252 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
@@ -58,20 +58,20 @@ jobs:
5858 runs-on : ubuntu-latest
5959
6060 steps :
61- - uses : actions/checkout@v4
61+ - uses : actions/checkout@v6
6262 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
63- uses : actions/setup-python@v4
63+ uses : actions/setup-python@v6
6464 with :
6565 python-version : ${{ env.DEFAULT_PYTHON }}
6666 - name : Load Poetry cache
67- uses : actions/cache@v3
67+ uses : actions/cache@v5
6868 with :
6969 path : ${{ env.POETRY_HOME }}
7070 key : ${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
7171 - name : Build wheel
7272 run : make build
7373 - name : Archive build artifacts
74- uses : actions/upload-artifact@v3
74+ uses : actions/upload-artifact@v6
7575 with :
7676 name : ${{ format('fastapi_mvc-{0}', github.sha) }}
7777 path : dist
@@ -81,13 +81,13 @@ jobs:
8181 runs-on : ubuntu-latest
8282
8383 steps :
84- - uses : actions/checkout@v4
84+ - uses : actions/checkout@v6
8585 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
86- uses : actions/setup-python@v4
86+ uses : actions/setup-python@v6
8787 with :
8888 python-version : ${{ env.DEFAULT_PYTHON }}
8989 - name : Load Poetry cache
90- uses : actions/cache@v3
90+ uses : actions/cache@v5
9191 with :
9292 path : ${{ env.POETRY_HOME }}
9393 key : ${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
@@ -103,13 +103,13 @@ jobs:
103103 runs-on : ubuntu-latest
104104
105105 steps :
106- - uses : actions/checkout@v4
106+ - uses : actions/checkout@v6
107107 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
108- uses : actions/setup-python@v4
108+ uses : actions/setup-python@v6
109109 with :
110110 python-version : ${{ env.DEFAULT_PYTHON }}
111111 - name : Load Poetry cache
112- uses : actions/cache@v3
112+ uses : actions/cache@v5
113113 with :
114114 path : ${{ env.POETRY_HOME }}
115115 key : ${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
@@ -120,13 +120,13 @@ jobs:
120120 runs-on : ubuntu-latest
121121
122122 steps :
123- - uses : actions/checkout@v4
123+ - uses : actions/checkout@v6
124124 - name : Set up Python ${{ env.DEFAULT_PYTHON }}
125- uses : actions/setup-python@v4
125+ uses : actions/setup-python@v6
126126 with :
127127 python-version : ${{ env.DEFAULT_PYTHON }}
128128 - name : Load Poetry cache
129- uses : actions/cache@v3
129+ uses : actions/cache@v5
130130 with :
131131 path : ${{ env.POETRY_HOME }}
132132 key : ${{ runner.os }}-${{ env.DEFAULT_PYTHON }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
@@ -138,17 +138,17 @@ jobs:
138138 fail-fast : false
139139 matrix :
140140 python-version : [ '3.8', '3.9', '3.10', '3.11' ]
141- os : [ubuntu-latest, macos-12 ]
141+ os : [ubuntu-latest, macos-latest ]
142142 runs-on : ${{ matrix.os }}
143143
144144 steps :
145- - uses : actions/checkout@v4
145+ - uses : actions/checkout@v6
146146 - name : Set up Python ${{ matrix.python-version }}
147- uses : actions/setup-python@v4
147+ uses : actions/setup-python@v6
148148 with :
149149 python-version : ${{ matrix.python-version }}
150150 - name : Load Poetry cache
151- uses : actions/cache@v3
151+ uses : actions/cache@v5
152152 with :
153153 path : ${{ env.POETRY_HOME }}
154154 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
@@ -160,22 +160,22 @@ jobs:
160160 fail-fast : false
161161 matrix :
162162 python-version : [ '3.8', '3.9', '3.10', '3.11' ]
163- os : [ubuntu-latest, macos-12 ]
163+ os : [ubuntu-latest, macos-latest ]
164164 runs-on : ${{ matrix.os }}
165165
166166 steps :
167- - uses : actions/checkout@v4
167+ - uses : actions/checkout@v6
168168 - name : Set up GNU coreutils on macos runner
169- if : matrix.os == 'macos-12 '
169+ if : matrix.os == 'macos-latest '
170170 run : |
171171 brew install coreutils
172172 echo "/usr/local/opt/coreutils/libexec/gnubin" >> $GITHUB_PATH
173173 - name : Set up Python ${{ matrix.python-version }}
174- uses : actions/setup-python@v4
174+ uses : actions/setup-python@v6
175175 with :
176176 python-version : ${{ matrix.python-version }}
177177 - name : Load Poetry cache
178- uses : actions/cache@v3
178+ uses : actions/cache@v5
179179 with :
180180 path : ${{ env.POETRY_HOME }}
181181 key : ${{ runner.os }}-${{ matrix.python-version }}-${{ hashFiles('./pyproject.toml') }}-${{ hashFiles('./poetry.lock') }}
0 commit comments