Skip to content

Commit c605d17

Browse files
authored
Merge pull request #3651 from boegel/ubuntu-22.04
update workflows to use Ubuntu 22.04
2 parents 85745e5 + d60daea commit c605d17

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/linting.yml

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

1111
jobs:
1212
python-linting:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
steps:
15-
- uses: actions/checkout@v2
15+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
1616

1717
- name: set up Python
18-
uses: actions/setup-python@v2
18+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
1919
with:
2020
python-version: 3.8
2121

.github/workflows/unit_tests.yml

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

1111
jobs:
1212
build:
13-
runs-on: ubuntu-20.04
13+
runs-on: ubuntu-22.04
1414
strategy:
1515
matrix:
16-
python: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
16+
python: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12']
1717
modules_tool: [Lmod-8.1.14, modules-tcl-1.147, modules-3.2.10, modules-4.5.3]
1818
module_syntax: [Lua, Tcl]
1919
# exclude some configuration for non-Lmod modules tool:
@@ -64,10 +64,10 @@ jobs:
6464
python: '3.12'
6565
fail-fast: false
6666
steps:
67-
- uses: actions/checkout@v2
67+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # 4.2.2
6868

6969
- name: set up Python
70-
uses: actions/setup-python@v2
70+
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5.4.0
7171
with:
7272
python-version: ${{matrix.python}}
7373
architecture: x64

test/easyblocks/module.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def test_pythonpackage_pick_python_cmd(self):
233233
self.assertTrue(pick_python_cmd(3) is not None)
234234
self.assertTrue(pick_python_cmd(3, 6) is not None)
235235
self.assertTrue(pick_python_cmd(123, 456) is None)
236-
self.assertTrue(pick_python_cmd(2, 6, 123, 456) is not None)
236+
self.assertTrue(pick_python_cmd(3, 6, 123, 456) is not None)
237237
self.assertTrue(pick_python_cmd(2, 6, 1, 1) is None)
238238

239239

0 commit comments

Comments
 (0)