Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,20 +25,20 @@
- uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json

- name: Install dependencies
run: npm ci --prefix ../

Check warning on line 35 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSQ&open=AZ-B4ioKw_Adoi_0KxSQ&pullRequest=137

- name: Lint
run: npm run lint

- name: Type check
run: npm run type-check || npx tsc --noEmit

Check warning on line 41 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSS&open=AZ-B4ioKw_Adoi_0KxSS&pullRequest=137

Check warning on line 41 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSR&open=AZ-B4ioKw_Adoi_0KxSR&pullRequest=137

- name: Build
run: npm run build
Expand All @@ -57,20 +57,20 @@
- uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'
cache: 'npm'
cache-dependency-path: web/package-lock.json

- name: Install dependencies
run: npm ci --prefix ../

Check warning on line 67 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--ignore-scripts" allows lifecycle scripts to run during package installation.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxST&open=AZ-B4ioKw_Adoi_0KxST&pullRequest=137

- name: Lint
run: npm run lint || echo "No lint script"

- name: Type check
run: npx tsc --noEmit

Check warning on line 73 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

"npx" can install packages on-demand and run their lifecycle scripts.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSU&open=AZ-B4ioKw_Adoi_0KxSU&pullRequest=137

Check warning on line 73 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Define exact package version to avoid installing unverified releases.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSV&open=AZ-B4ioKw_Adoi_0KxSV&pullRequest=137

- name: Test
run: npm test || echo "No tests"
Expand Down Expand Up @@ -112,7 +112,7 @@
run: cargo clippy -- -D warnings

- name: Build
run: cargo build --release

Check warning on line 115 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSW&open=AZ-B4ioKw_Adoi_0KxSW&pullRequest=137

- name: Test
run: cargo test
Expand All @@ -139,9 +139,9 @@

- name: Install dependencies
run: |
pip install --upgrade pip

Check warning on line 142 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSX&open=AZ-B4ioKw_Adoi_0KxSX&pullRequest=137

Check warning on line 142 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSY&open=AZ-B4ioKw_Adoi_0KxSY&pullRequest=137
pip install -r requirements.txt

Check warning on line 143 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSa&open=AZ-B4ioKw_Adoi_0KxSa&pullRequest=137

Check warning on line 143 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSZ&open=AZ-B4ioKw_Adoi_0KxSZ&pullRequest=137
pip install ruff mypy

Check warning on line 144 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSc&open=AZ-B4ioKw_Adoi_0KxSc&pullRequest=137

Check warning on line 144 in .github/workflows/ci.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ioKw_Adoi_0KxSb&open=AZ-B4ioKw_Adoi_0KxSb&pullRequest=137

- name: Lint with Ruff
run: ruff check .
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
- uses: actions/checkout@v6

- name: Setup Node.js
uses: actions/setup-node@v6
uses: actions/setup-node@v7
with:
node-version: '20'

Expand Down Expand Up @@ -162,7 +162,7 @@
python-version: '3.11'

- name: Install safety
run: pip install safety

Check warning on line 165 in .github/workflows/security.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Using dependencies without locking resolved versions is security-sensitive.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ipGw_Adoi_0KxSe&open=AZ-B4ipGw_Adoi_0KxSe&pullRequest=137

Check warning on line 165 in .github/workflows/security.yml

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is safe here.

See more on https://sonarcloud.io/project/issues?id=0xReLogic_github-streak-alert&issues=AZ-B4ipGw_Adoi_0KxSd&open=AZ-B4ipGw_Adoi_0KxSd&pullRequest=137

- name: Run safety check
run: safety check -r requirements.txt || true
Loading