4848 runs-on : ubuntu-latest
4949 steps :
5050 - name : Checkout Pyomo source
51- uses : actions/checkout@v4
51+ uses : actions/checkout@v6
5252 - name : Set up Python
53- uses : actions/setup-python@v5
53+ uses : actions/setup-python@v6
5454 with :
5555 python-version : 3.11
5656 - name : Black Formatting Check
8484 # Exclude:
8585 # - All gnu.org links because they consistently fail the checker
8686 # - All lpsolve.sourceforge.net links because SF appears to reject from GHA
87- exclude_patterns : https://www.gnu.org,https://lpsolve.sourceforge.net/
87+ # - All www.mathworks.com links because MathWorks appears to reject from GHA
88+ exclude_patterns : https://www.gnu.org,https://lpsolve.sourceforge.net/,https://www.mathworks.com/
8889
8990
9091 build :
@@ -192,7 +193,7 @@ jobs:
192193
193194 steps :
194195 - name : Checkout Pyomo source
195- uses : actions/checkout@v4
196+ uses : actions/checkout@v6
196197
197198 - name : Configure job parameters
198199 run : |
@@ -213,23 +214,23 @@ jobs:
213214 | tr '\n' ' ' | sed 's/ \+/ /g' >> $GITHUB_ENV
214215
215216 # - name: Pip package cache
216- # uses: actions/cache@v4
217+ # uses: actions/cache@v5
217218 # if: matrix.PYENV == 'pip'
218219 # id: pip-cache
219220 # with:
220221 # path: cache/pip
221222 # key: pip-${{env.CACHE_VER}}.0-${{runner.os}}-${{matrix.python}}
222223
223224 # - name: OS package cache
224- # uses: actions/cache@v4
225+ # uses: actions/cache@v5
225226 # if: matrix.TARGET != 'osx'
226227 # id: os-cache
227228 # with:
228229 # path: cache/os
229230 # key: pkg-${{env.CACHE_VER}}.0-${{runner.os}}
230231
231232 - name : TPL package download cache
232- uses : actions/cache@v4
233+ uses : actions/cache@v5
233234 if : ${{ ! matrix.slim }}
234235 id : download-cache
235236 with :
@@ -289,7 +290,7 @@ jobs:
289290
290291 - name : Set up Python ${{ matrix.python }}
291292 if : matrix.PYENV == 'pip'
292- uses : actions/setup-python@v5
293+ uses : actions/setup-python@v6
293294 with :
294295 python-version : ${{ matrix.python }}
295296
@@ -837,7 +838,7 @@ jobs:
837838 coverage xml -i
838839
839840 - name : Record build artifacts
840- uses : actions/upload-artifact@v4
841+ uses : actions/upload-artifact@v7
841842 with :
842843 name : ${{github.job}}_${{env.GHA_JOBGROUP}}-${{env.GHA_JOBNAME}}
843844 include-hidden-files : true
@@ -856,10 +857,10 @@ jobs:
856857 timeout-minutes : 10
857858 steps :
858859 - name : Checkout Pyomo source
859- uses : actions/checkout@v4
860+ uses : actions/checkout@v6
860861
861862 - name : Set up Python 3.10
862- uses : actions/setup-python@v5
863+ uses : actions/setup-python@v6
863864 with :
864865 python-version : ' 3.10'
865866
@@ -912,23 +913,23 @@ jobs:
912913
913914 steps :
914915 - name : Checkout Pyomo source
915- uses : actions/checkout@v4
916+ uses : actions/checkout@v6
916917 # We need the source for .codecov.yml and running "coverage xml"
917918
918919 # - name: Pip package cache
919- # uses: actions/cache@v4
920+ # uses: actions/cache@v5
920921 # id: pip-cache
921922 # with:
922923 # path: cache/pip
923924 # key: pip-${{env.CACHE_VER}}.0-${{runner.os}}-3.10
924925
925926 - name : Download build artifacts
926- uses : actions/download-artifact@v4
927+ uses : actions/download-artifact@v8
927928 with :
928929 path : artifacts
929930
930931 - name : Set up Python 3.12
931- uses : actions/setup-python@v5
932+ uses : actions/setup-python@v6
932933 with :
933934 python-version : 3.12
934935
@@ -1004,7 +1005,7 @@ jobs:
10041005
10051006 - name : Upload codecov reports
10061007 if : github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main'
1007- uses : codecov/codecov-action@v5
1008+ uses : codecov/codecov-action@v6
10081009 with :
10091010 files : coverage.xml
10101011 token : ${{ secrets.PYOMO_CODECOV_TOKEN }}
@@ -1016,7 +1017,7 @@ jobs:
10161017 if : |
10171018 hashFiles('coverage-other.xml') != '' &&
10181019 (github.repository_owner == 'Pyomo' || github.ref != 'refs/heads/main')
1019- uses : codecov/codecov-action@v5
1020+ uses : codecov/codecov-action@v6
10201021 with :
10211022 files : coverage-other.xml
10221023 token : ${{ secrets.PYOMO_CODECOV_TOKEN }}
0 commit comments