Skip to content

Commit

Permalink
Merge pull request #21 from Babara-Fanclub/lint-rules
Browse files Browse the repository at this point in the history
Updated Lint Rules
  • Loading branch information
ecyht2 authored Mar 30, 2024
2 parents aee87af + 6f0b8da commit 57dd224
Showing 1 changed file with 17 additions and 13 deletions.
30 changes: 17 additions & 13 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,23 +25,11 @@ jobs:
uses: actions/checkout@v3

- name: Install ESLint
run: |
npm install [email protected]
npm install @microsoft/[email protected]
run: npm install --dev

- name: Run ESLint
run: npx eslint .
--config .eslintrc.js
--ext .js,.jsx,.ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true

- name: Upload analysis results to GitHub
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: eslint-results.sarif
wait-for-processing: true
clippy:
name: Checking Rust using Clippy
runs-on: ubuntu-latest
Expand All @@ -51,3 +39,19 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Installing Dependencies
run: |
sudo apt update
sudo apt install libwebkit2gtk-4.0-dev \
build-essential \
curl \
wget \
file \
libssl-dev \
libgtk-3-dev \
libayatana-appindicator3-dev \
librsvg2-dev
- name: Run Clippy
run: |
cd src-tauri/
cargo clippy

0 comments on commit 57dd224

Please sign in to comment.