@@ -23,7 +23,7 @@ permissions:
2323jobs :
2424lint-addon-docs :
2525if : github.event.pull_request.draft == false
26- runs-on : ubuntu-latest
26+ runs-on : ubuntu-slim
2727steps :
2828 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2929with :
3838run : NODE=$(command -v node) make lint-addon-docs
3939lint-cpp :
4040if : github.event.pull_request.draft == false
41- runs-on : ubuntu-latest
41+ runs-on : ubuntu-slim
4242steps :
4343 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
4444with :
5353run : make lint-cpp
5454format-cpp :
5555if : ${{ github.event.pull_request && github.event.pull_request.draft == false && github.base_ref == github.event.repository.default_branch }}
56- runs-on : ubuntu-latest
56+ runs-on : ubuntu-slim
5757steps :
5858 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
5959with :
9191 fi
9292lint-js-and-md :
9393if : github.event.pull_request.draft == false
94- runs-on : ubuntu-latest
94+ runs-on : ubuntu-slim
9595steps :
9696 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
9797with :
@@ -116,7 +116,7 @@ jobs:
116116NODE_RELEASED_VERSIONS : ${{ steps.get-released-versions.outputs.NODE_RELEASED_VERSIONS }}
117117lint-py :
118118if : github.event.pull_request.draft == false
119- runs-on : ubuntu-latest
119+ runs-on : ubuntu-slim
120120steps :
121121 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
122122with :
@@ -133,7 +133,7 @@ jobs:
133133 make lint-py
134134lint-yaml :
135135if : github.event.pull_request.draft == false
136- runs-on : ubuntu-latest
136+ runs-on : ubuntu-slim
137137steps :
138138 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
139139with :
@@ -151,7 +151,7 @@ jobs:
151151
152152lint-sh :
153153if : github.event.pull_request.draft == false
154- runs-on : ubuntu-latest
154+ runs-on : ubuntu-slim
155155steps :
156156 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
157157with :
@@ -161,6 +161,7 @@ jobs:
161161run : tools/lint-sh.mjs .
162162lint-codeowners :
163163if : github.event.pull_request.draft == false
164+ # cannot use ubuntu-slim here because mszostok/codeowners-validator is dockerized
164165runs-on : ubuntu-latest
165166steps :
166167 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
@@ -171,7 +172,7 @@ jobs:
171172checks : files,duppatterns
172173lint-pr-url :
173174if : ${{ github.event.pull_request }}
174- runs-on : ubuntu-latest
175+ runs-on : ubuntu-slim
175176steps :
176177 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
177178with :
@@ -180,7 +181,7 @@ jobs:
180181# GH Actions squashes all PR commits, HEAD^ refers to the base branch.
181182 - run : git diff HEAD^ HEAD -G"pr-url:" -- "*.md" | ./tools/lint-pr-url.mjs ${{ github.event.pull_request.html_url }}
182183lint-readme :
183- runs-on : ubuntu-latest
184+ runs-on : ubuntu-slim
184185steps :
185186 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
186187with :
0 commit comments