Bump @types/node from 20.11.20 to 22.10.2 in /vscode_extension #2044
This file contains 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: Compiler | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
env: | |
RUST_BACKTRACE: 1 | |
jobs: | |
check: | |
name: Check | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dsherret/rust-toolchain-file@v1 | |
- uses: Swatinem/rust-cache@v2.7.5 | |
- name: "Compiler: clippy" | |
run: cargo clippy -- --deny warnings | |
- name: "Compiler: test" | |
run: cargo test --workspace | |
- name: "Compiler: fmt" | |
run: cargo fmt --check | |
vscode-extension-check: | |
name: Check VS Code Extension | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
security-events: write | |
defaults: | |
run: | |
working-directory: vscode_extension_v4/ | |
steps: | |
- uses: actions/checkout@v4 | |
- run: npm install | |
- run: npm install @microsoft/eslint-formatter-sarif@3.0.0 | |
- name: Run ESLint | |
run: | | |
npx eslint . \ | |
--ext .ts \ | |
--format @microsoft/eslint-formatter-sarif \ | |
--output-file eslint-results.sarif | |
continue-on-error: true | |
- uses: github/codeql-action/upload-sarif@v3 | |
with: | |
sarif_file: vscode_extension_v4/eslint-results.sarif | |
wait-for-processing: true |