[tsp-client] Update Node.js version for Ubuntu in CI workflow (#15937) #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: actionlint | |
| on: | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/actionlint* | |
| - .github/matchers/** | |
| - .github/workflows/** | |
| - eng/common/actions/** | |
| pull_request: | |
| paths: | |
| - .github/actionlint* | |
| - .github/matchers/** | |
| - .github/workflows/** | |
| - eng/common/actions/** | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| actionlint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| sparse-checkout: | | |
| .github | |
| eng | |
| # Content copied from https://raw.githubusercontent.com/rhysd/actionlint/2ab3a12c7848f6c15faca9a92612ef4261d0e370/.github/actionlint-matcher.json | |
| - name: Add ActionLint Problem Matcher | |
| run: echo "::add-matcher::.github/matchers/actionlint.json" | |
| - name: Lint workflows | |
| uses: docker://rhysd/actionlint@sha256:b1934ee5f1c509618f2508e6eb47ee0d3520686341fec936f3b79331f9315667 # v1.7.12 | |
| with: | |
| args: -color -verbose |