Skip to content

Commit e7583e5

Browse files
ci: Upgrade github actions (#82)
* update python-package and typing check CI * Fixing typo in CI typing check
1 parent de62e29 commit e7583e5

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

.github/workflows/python-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
echo "This is not a Pull-Request, skipping"
3535
3636
build:
37-
runs-on: ubuntu-22.04
37+
runs-on: ubuntu-latest
3838
strategy:
3939
fail-fast: false
4040
max-parallel: 3
@@ -43,10 +43,10 @@ jobs:
4343
package-name: ["geos-ats", "geos-mesh", "geos-posp", "geos-timehistory", "geos-trame", "geos-utils", "geos-xml-tools", "geos-xml-viewer", "hdf5-wrapper", "pygeos-tools"]
4444

4545
steps:
46-
- uses: actions/checkout@v3
46+
- uses: actions/checkout@v4
4747
- uses: mpi4py/setup-mpi@v1
4848
- name: Set up Python ${{ matrix.python-version }}
49-
uses: actions/setup-python@v3
49+
uses: actions/setup-python@v5
5050
with:
5151
python-version: ${{ matrix.python-version }}
5252
cache: 'pip'

.github/workflows/typing-check.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010

1111
jobs:
1212
build:
13-
runs-on: ubuntu-22.04
13+
runs-on: ubuntu-latest
1414
strategy:
1515
fail-fast: false
1616
max-parallel: 3
@@ -19,10 +19,10 @@ jobs:
1919
package-name: ["geos-geomechanics", "geos-posp", "geos-timehistory", "geos-utils", "geos-xml-tools", "hdf5-wrapper"]
2020

2121
steps:
22-
- uses: actions/checkout@v3
22+
- uses: actions/checkout@v4
2323
- uses: mpi4py/setup-mpi@v1
2424
- name: Set up Python
25-
uses: actions/setup-python@v3
25+
uses: actions/setup-python@v4
2626
with:
2727
python-version: "3.10"
2828
cache: 'pip'
@@ -40,4 +40,4 @@ jobs:
4040
- name: Format and linting check with ruff
4141
# working-directory: ./${{ matrix.package-name }}
4242
run: |
43-
python -m ruff check --config .ruff.toml ./geos-utils
43+
python -m ruff check --config .ruff.toml ./${{ matrix.package-name }}

geos-geomechanics/src/geos/geomechanics/model/MohrCircle.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
p1, p2, p3 :float = mohrCircle.getPrincipalComponents()
3939
radius :float = mohrCircle.getCircleRadius()
4040
center :float = mohrCircle.getCircleCenter()
41-
4241
"""
4342

4443

0 commit comments

Comments
 (0)