lint.yml
This file
Path
.github/workflows/lint.yml
99 lines · 2.7 KiB · YAML
Last changed by
[Tests] run every remaining test file: exec bits, fixes; add `check-exec` to CIJordan Harbandbefore adoptionc7d5d77
History of this fileTake it
The walk stopped after 200 commits: lines older than 5c12680 point at it.
[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 1–18why, one step back1name: 'Tests: linting'23on: [pull_request, push]45permissions:6 contents: read78jobs:9 eclint:10 runs-on: ubuntu-latest11 steps:12 - uses: step-security/harden-runner@v213 with:14 allowed-endpoints:15 github.com:44316 raw.githubusercontent.com:44317 nodejs.org:44318 registry.npmjs.org:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 19why, one step back19 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 20–37why, one step back20 - uses: ljharb/actions/node/install@main21 name: 'nvm install ${{ matrix.node-version }} && npm install'22 with:23 node-version: 'lts/*'24 - run: npm run eclint2526 dockerfile_lint:27 runs-on: ubuntu-latest28 steps:29 - uses: step-security/harden-runner@v230 with:31 allowed-endpoints:32 ghcr.io:44333 github.com:44334 raw.githubusercontent.com:44335 pkg-containers.githubusercontent.com:44336 nodejs.org:44337 registry.npmjs.org:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 38why, one step back38 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 39–54why, one step back39 - uses: ljharb/actions/node/install@main40 name: 'nvm install ${{ matrix.node-version }} && npm install'41 with:42 node-version: 'lts/*'43 - run: npm run dockerfile_lint4445 doctoc:46 runs-on: ubuntu-latest47 steps:48 - uses: step-security/harden-runner@v249 with:50 allowed-endpoints:51 github.com:44352 raw.githubusercontent.com:44353 nodejs.org:44354 registry.npmjs.org:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 55why, one step back55 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 56–69why, one step back56 - uses: ljharb/actions/node/install@main57 name: 'nvm install ${{ matrix.node-version }} && npm install'58 with:59 node-version: 'lts/*'60 - run: npm run doctoc:check6162 test_naming:63 runs-on: ubuntu-latest64 steps:65 - uses: step-security/harden-runner@v266 with:67 allowed-endpoints:68 github.com:44369 raw.githubusercontent.com:443[actions] update outdated GitHub Actions versionsPadraic Slatterybefore adoption34d6d5d
line 70why, one step back70 - uses: actions/checkout@v6[Dev Deps] update `markdown-link-check`Jordan Harbandbefore adoption5c12680
lines 71–72why, one step back71 - name: check tests filenames72 run: ./rename_test.sh --check[actions] add a finisher to lintJordan Harbandbefore adoptionb1dd810
line 73why, one step back73[Tests] run every remaining test file: exec bits, fixes; add `check-exec` to CIJordan Harbandbefore adoptionc7d5d77
lines 74–91why, one step back74 check_exec:75 runs-on: ubuntu-latest76 steps:77 - uses: step-security/harden-runner@v278 with:79 allowed-endpoints:80 github.com:44381 raw.githubusercontent.com:44382 nodejs.org:44383 registry.npmjs.org:44384 - uses: actions/checkout@v685 - uses: ljharb/actions/node/install@main86 name: 'nvm install lts/* && npm install'87 with:88 node-version: 'lts/*'89 - name: check that test files are executable90 run: npm run test:check-exec91[actions] add a finisher to lintJordan Harbandbefore adoptionb1dd810
lines 92–95why, one step back92 all:93 permissions:94 contents: none95 name: 'all linting'[Tests] run every remaining test file: exec bits, fixes; add `check-exec` to CIJordan Harbandbefore adoptionc7d5d77
line 96why, one step back96 needs: [eclint, dockerfile_lint, doctoc, test_naming, check_exec][actions] add a finisher to lintJordan Harbandbefore adoptionb1dd810
lines 97–99why, one step back97 runs-on: ubuntu-latest98 steps:99 - run: true