Skip to content

Commit abae4b7

Browse files
committed
[ci] Add linting job for script formatting and update workflow dependencies
Signed-off-by: Viet Nguyen Duc <[email protected]>
1 parent ea46846 commit abae4b7

File tree

12 files changed

+365
-334
lines changed

12 files changed

+365
-334
lines changed

.github/workflows/build-test.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,14 +60,25 @@ env:
6060
RUN_ATTEMPT: ${{ github.run_attempt }}
6161

6262
jobs:
63+
lint-format:
64+
name: Lint scripts format
65+
runs-on: ubuntu-24.04
66+
steps:
67+
- name: Checkout code
68+
uses: actions/checkout@main
69+
- name: Lint format
70+
run: make lint_format_scripts
71+
6372
docker-test:
73+
needs: [lint-format]
6474
if: contains(toJson(github.event.commits), '[skip test]') == false
6575
name: Test Selenium Grid on Docker
6676
uses: ./.github/workflows/docker-test.yml
6777
with:
6878
release: ${{ inputs.release == 'true' }}
6979

7080
helm-chart-test:
81+
needs: [lint-format]
7182
if: contains(toJson(github.event.commits), '[skip test]') == false
7283
name: Test Selenium Grid on Kubernetes
7384
uses: ./.github/workflows/helm-chart-test.yml

.github/workflows/helm-chart-test.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,8 +164,6 @@ jobs:
164164
with:
165165
python-version: ${{ matrix.python-version }}
166166
check-latest: true
167-
- name: Verify chart configuration up-to-date
168-
run: make lint_readme_charts
169167
- name: Get branch name (only for push to branch)
170168
if: github.event_name == 'push'
171169
run: echo "BRANCH=$(echo ${PUSH_BRANCH##*/})" >> $GITHUB_ENV

0 commit comments

Comments
 (0)