Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit c87fb0a

Browse files
committedMay 6, 2025·
Update: Use container image to run lint workflow
1 parent 32bdf18 commit c87fb0a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

‎.github/workflows/lint.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
pycodestyle:
1515
name: pycodestyle
1616
runs-on: ubuntu-latest
17+
container:
18+
image: ubuntu:20.04
1719
steps:
1820
- name: Checkout repo
1921
uses: actions/checkout@v4
@@ -33,6 +35,8 @@ jobs:
3335
pylint:
3436
name: pylint
3537
runs-on: ubuntu-latest
38+
container:
39+
image: ubuntu:20.04
3640
steps:
3741
- name: Checkout repo
3842
uses: actions/checkout@v4
@@ -54,6 +58,8 @@ jobs:
5458
ruff:
5559
name: ruff
5660
runs-on: ubuntu-latest
61+
container:
62+
image: ubuntu:20.04
5763
steps:
5864
- name: Checkout repo
5965
uses: actions/checkout@v4
@@ -73,6 +79,8 @@ jobs:
7379
markdownlint:
7480
name: markdownlint
7581
runs-on: ubuntu-latest
82+
container:
83+
image: ubuntu:20.04
7684
steps:
7785
- name: Checkout repo
7886
uses: actions/checkout@v4
@@ -86,6 +94,8 @@ jobs:
8694
yamllint:
8795
name: yamllint
8896
runs-on: ubuntu-latest
97+
container:
98+
image: ubuntu:20.04
8999
steps:
90100
- name: Checkout repo
91101
uses: actions/checkout@v4
@@ -105,6 +115,8 @@ jobs:
105115
jsonlint:
106116
name: jsonlint
107117
runs-on: ubuntu-latest
118+
container:
119+
image: ubuntu:20.04
108120
steps:
109121
- name: Checkout repo
110122
uses: actions/checkout@v4
@@ -118,6 +130,8 @@ jobs:
118130
shellcheck:
119131
name: shellcheck
120132
runs-on: ubuntu-latest
133+
container:
134+
image: ubuntu:20.04
121135
steps:
122136
- name: Checkout repo
123137
uses: actions/checkout@v4

0 commit comments

Comments
 (0)
Please sign in to comment.