Skip to content

Commit 6e15071

Browse files
ci: pin ubuntu OS to 22.04. (#3659)
* ci: ping ubuntu OS to 22.04. * chore: adding changelog file 3659.maintenance.md [dependabot-skip] * chore: adding changelog file 3659.maintenance.md [dependabot-skip] --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent 86e535c commit 6e15071

File tree

3 files changed

+18
-17
lines changed

3 files changed

+18
-17
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ jobs:
6767
update-changelog:
6868
name: "Update CHANGELOG (on release)"
6969
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
70-
runs-on: ubuntu-latest
70+
runs-on: ubuntu-22.04
7171
permissions:
7272
contents: write
7373
pull-requests: write
@@ -82,7 +82,7 @@ jobs:
8282
pull-request-name:
8383
if: github.event_name == 'pull_request'
8484
name: Check the name of the pull-request
85-
runs-on: ubuntu-latest
85+
runs-on: ubuntu-22.04
8686
steps:
8787
- name: Check pull-request name
8888
uses: ansys/actions/check-pr-title@v8
@@ -92,7 +92,7 @@ jobs:
9292

9393
doc-style:
9494
name: "Documentation style ${{ matrix.folder }}"
95-
runs-on: ubuntu-latest
95+
runs-on: ubuntu-22.04
9696
strategy:
9797
matrix:
9898
folder: ["doc", "examples"]
@@ -142,7 +142,7 @@ jobs:
142142

143143
check-vulnerabilities:
144144
name: "Check library vulnerabilities"
145-
runs-on: ubuntu-latest
145+
runs-on: ubuntu-22.04
146146
steps:
147147
- uses: ansys/actions/check-vulnerabilities@v8
148148
with:
@@ -156,7 +156,7 @@ jobs:
156156

157157
docs-build:
158158
name: "Build documentation"
159-
runs-on: ubuntu-latest
159+
runs-on: ubuntu-22.04
160160
needs: doc-style
161161
timeout-minutes: 60
162162
outputs:
@@ -359,7 +359,7 @@ jobs:
359359
360360
build-test-remote-matrix:
361361
name: "Build remote test matrix"
362-
runs-on: ubuntu-latest
362+
runs-on: ubuntu-22.04
363363
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
364364
outputs:
365365
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -400,7 +400,7 @@ jobs:
400400

401401
build-test-remote:
402402
name: "Remote: ${{ matrix.mapdl-version }}"
403-
runs-on: ubuntu-latest
403+
runs-on: ubuntu-22.04
404404
needs: [smoke-tests, build-test-remote-matrix]
405405
timeout-minutes: 35
406406
strategy:
@@ -599,7 +599,7 @@ jobs:
599599
600600
build-test-local-minimal-matrix:
601601
name: "Build test matrix for minimal and local"
602-
runs-on: ubuntu-latest
602+
runs-on: ubuntu-22.04
603603
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
604604
outputs:
605605
matrix: ${{ steps.set-matrix.outputs.matrix }}
@@ -630,7 +630,7 @@ jobs:
630630

631631
build-test-ubuntu-local:
632632
name: "Local: ${{ matrix.mapdl-version }}"
633-
runs-on: ubuntu-latest
633+
runs-on: ubuntu-22.04
634634
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
635635
needs: [smoke-tests, build-test-local-minimal-matrix]
636636
timeout-minutes: 75
@@ -785,7 +785,7 @@ jobs:
785785

786786
build-test-ubuntu-minimal:
787787
name: "Local-min: ${{ matrix.mapdl-version }}"
788-
runs-on: ubuntu-latest
788+
runs-on: ubuntu-22.04
789789
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
790790
needs: [smoke-tests, build-test-local-minimal-matrix]
791791
timeout-minutes: 75
@@ -913,7 +913,7 @@ jobs:
913913

914914
build-test-ubuntu-console:
915915
name: "Local-min-console: ${{ matrix.mapdl-version }}"
916-
runs-on: ubuntu-latest
916+
runs-on: ubuntu-22.04
917917
if: github.ref != 'refs/heads/main' || github.event_name == 'schedule' || github.event_name == 'workflow_dispatch'
918918
needs: [smoke-tests, build-test-local-minimal-matrix]
919919
timeout-minutes: 75
@@ -1115,7 +1115,7 @@ jobs:
11151115
package:
11161116
name: "Package library"
11171117
needs: [build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal, docs-build]
1118-
runs-on: ubuntu-latest
1118+
runs-on: ubuntu-22.04
11191119
steps:
11201120
- name: "Build library source and wheel artifacts"
11211121
uses: ansys/actions/build-library@v8
@@ -1128,7 +1128,7 @@ jobs:
11281128
name: "Release project"
11291129
if: ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
11301130
needs: [package, update-changelog]
1131-
runs-on: ubuntu-latest
1131+
runs-on: ubuntu-22.04
11321132
# Specifying a GitHub environment is optional, but strongly encouraged
11331133
environment: release
11341134
permissions:
@@ -1154,7 +1154,7 @@ jobs:
11541154
upload-docs-release:
11551155
name: "Upload release documentation"
11561156
if: github.event_name == 'push' && contains(github.ref, 'refs/tags')
1157-
runs-on: ubuntu-latest
1157+
runs-on: ubuntu-22.04
11581158
needs: [release]
11591159
steps:
11601160
- name: "Deploy the stable documentation"
@@ -1170,7 +1170,7 @@ jobs:
11701170
upload-dev-docs:
11711171
name: "Upload dev documentation"
11721172
if: github.ref == 'refs/heads/main' && !contains(github.ref, 'refs/tags')
1173-
runs-on: ubuntu-latest
1173+
runs-on: ubuntu-22.04
11741174
needs: [docs-build]
11751175
steps:
11761176
- name: "Deploy the latest documentation"
@@ -1186,7 +1186,7 @@ jobs:
11861186
name: "Notify failed build"
11871187
needs: [smoke-tests, docs-build, build-test-remote, build-test-ubuntu-local, build-test-ubuntu-minimal]
11881188
if: failure() && github.event_name == 'schedule'
1189-
runs-on: ubuntu-latest
1189+
runs-on: ubuntu-22.04
11901190
steps:
11911191
- name: "Open issue"
11921192
uses: jayqi/failed-build-issue-action@v1

.github/workflows/linkchecker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ env:
2121
jobs:
2222
linkchecker:
2323
name: Check Links
24-
runs-on: ubuntu-latest
24+
runs-on: ubuntu-22.04
2525
timeout-minutes: 60
2626
env:
2727
PYMAPDL_PORT: 21000 # default won't work on GitHub runners

doc/changelog.d/3659.maintenance.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ci: pin ubuntu OS to 22.04.

0 commit comments

Comments
 (0)