27
27
jobs :
28
28
format :
29
29
name : Format check
30
- runs-on : ubuntu-latest
30
+ runs-on : ubuntu-24.04
31
31
steps :
32
- - uses : actions/checkout@v1
33
- - uses : actions/setup-python@v1
32
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
33
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
34
34
with :
35
- python-version : ' 3.7 '
35
+ python-version : ' 3.10.15 '
36
36
architecture : ' x64'
37
37
- name : Install yapf
38
38
run : pip install yapf~=0.27.0
@@ -41,12 +41,12 @@ jobs:
41
41
42
42
mypy :
43
43
name : Type check
44
- runs-on : ubuntu-latest
44
+ runs-on : ubuntu-24.04
45
45
steps :
46
- - uses : actions/checkout@v2
47
- - uses : actions/setup-python@v2
46
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
47
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
48
48
with :
49
- python-version : ' 3.7 '
49
+ python-version : ' 3.10.15 '
50
50
architecture : ' x64'
51
51
- name : Install mypy
52
52
run : pip install mypy~=0.790.0
@@ -55,28 +55,28 @@ jobs:
55
55
56
56
lint :
57
57
name : Lint check
58
- runs-on : ubuntu-latest
58
+ runs-on : ubuntu-24.04
59
59
steps :
60
- - uses : actions/checkout@v2
61
- - uses : actions/setup-python@v2
60
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
61
+ - uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
62
62
with :
63
- python-version : ' 3.7 '
63
+ python-version : ' 3.10.15 '
64
64
architecture : ' x64'
65
65
- name : Install pylint
66
66
run : pip install pylint~=2.6.0
67
67
- name : Lint
68
68
run : dev/check/pylint
69
69
70
70
build :
71
- runs-on : ubuntu-latest
71
+ runs-on : ubuntu-24.04
72
72
strategy :
73
73
matrix :
74
- python-version : [3.7 , 3.8]
74
+ python-version : [3.10.15 , 3.12 .8]
75
75
76
76
steps :
77
- - uses : actions/checkout@v2
77
+ - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
78
78
- name : Set up Python ${{ matrix.python-version }}
79
- uses : actions/setup-python@v1
79
+ uses : actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
80
80
with :
81
81
python-version : ${{ matrix.python-version }}
82
82
- name : Install dependencies
0 commit comments