diff --git a/.github/workflows/lint-js.yml b/.github/workflows/lint-js.yml index 6bd1f68..5e78294 100644 --- a/.github/workflows/lint-js.yml +++ b/.github/workflows/lint-js.yml @@ -3,6 +3,7 @@ name: Lint Node.js on: + workflow_call: push: branches: - main diff --git a/.github/workflows/lint-rs.yml b/.github/workflows/lint-rs.yml index 8b6e82a..fbfdd88 100644 --- a/.github/workflows/lint-rs.yml +++ b/.github/workflows/lint-rs.yml @@ -3,6 +3,7 @@ name: Lint Rust on: + workflow_call: push: branches: - main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 1fe6c50..860602b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -10,7 +10,18 @@ env: TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} jobs: + lint-js: + name: Lint JavaScript/TypeScript + uses: ./.github/workflows/lint-js.yml + secrets: inherit + + lint-rust: + name: Lint Rust + uses: ./.github/workflows/lint-rs.yml + secrets: inherit + release: + needs: [lint-js, lint-rust] permissions: contents: write strategy: diff --git a/.github/workflows/rolling-release.yml b/.github/workflows/rolling-release.yml index 6290ed2..f850247 100644 --- a/.github/workflows/rolling-release.yml +++ b/.github/workflows/rolling-release.yml @@ -10,7 +10,18 @@ env: TAURI_SIGNING_PRIVATE_KEY_PASSWORD: ${{ secrets.TAURI_SIGNING_PRIVATE_KEY_PASSWORD }} jobs: + lint-js: + name: Lint JavaScript/TypeScript + uses: ./.github/workflows/lint-js.yml + secrets: inherit + + lint-rust: + name: Lint Rust + uses: ./.github/workflows/lint-rs.yml + secrets: inherit + rolling-release: + needs: [lint-js, lint-rust] permissions: contents: write strategy: