chore(deps): update eslint monorepo to v9.35.0 #4981
Workflow file for this run
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: "Pull Request" | |
concurrency: | |
group: ${{ github.head_ref }} | |
cancel-in-progress: true | |
on: | |
pull_request: | |
branches: | |
- dev | |
jobs: | |
reviewdog-eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
- uses: ./.github/actions/reusable-setup/ | |
- uses: reviewdog/action-eslint@2fee6dd72a5419ff4113f694e2068d2a03bb35dd # v1.33.2 | |
with: | |
fail_on_error: true | |
eslint_flags: "." | |
node_options: "--max_old_space_size=4096" | |
code-scanning: | |
uses: ./.github/workflows/reusable-codeql-analysis.yml | |
typescript-changes: | |
runs-on: ubuntu-latest | |
outputs: | |
typescript: ${{ steps.filter.outputs.typescript }} | |
typescript_files: ${{ steps.filter.outputs.typescript_files }} | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2 | |
id: filter | |
with: | |
list-files: shell | |
filters: | | |
typescript: | |
- added|modified: 'src/**/*.ts*' | |
license-header-check: | |
needs: typescript-changes | |
if: ${{ needs.typescript-changes.outputs.typescript == 'true' }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5 | |
- uses: actions/setup-go@d35c59abb061a4a6fb18e82ac0862c26744d6ab5 # v5 | |
with: | |
go-version: "^1.17.0" | |
- name: Install addlicense | |
run: go install github.com/google/addlicense@latest | |
- name: Run addlicense | |
run: addlicense -f ./addlicense -check ${{ needs.typescript-changes.outputs.typescript_files }} | |
toolbox-tests: | |
uses: ./.github/workflows/reusable-toolbox-tests.yml | |
quality-gate: | |
if: ${{ always() }} | |
needs: | |
- reviewdog-eslint | |
- code-scanning | |
- toolbox-tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check Job Status | |
run: | | |
if [ ${{ needs.reviewdog-eslint.result }} != 'success' ] || | |
[ ${{ needs.code-scanning.result }} != 'success' ] || | |
[ ${{ needs.toolbox-tests.result }} != 'success' ]; then | |
echo "One or more jobs failed" | |
exit 1 | |
else | |
echo "Passed!" | |
fi |