chore: linting for both js and rs

This commit is contained in:
zhom
2025-05-29 23:57:54 +04:00
parent cf57b2a043
commit 5c02b59af4
33 changed files with 836 additions and 608 deletions
+21
View File
@@ -10,7 +10,28 @@ env:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
jobs:
# Wait for linting jobs to complete first
wait-for-linting:
runs-on: ubuntu-latest
steps:
- name: Wait for Rust linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Rust"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Wait for JavaScript linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Node.js"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
release:
needs: wait-for-linting
permissions:
contents: write
strategy:
+21
View File
@@ -10,7 +10,28 @@ env:
TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }}
jobs:
# Wait for linting jobs to complete first
wait-for-linting:
runs-on: ubuntu-latest
steps:
- name: Wait for Rust linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Rust"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
- name: Wait for JavaScript linting to complete
uses: lewagon/wait-on-check-action@v1.3.4
with:
ref: ${{ github.ref }}
check-name: "Lint Node.js"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 10
rolling-release:
needs: wait-for-linting
permissions:
contents: write
strategy: