mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-04-23 11:36:13 +02:00
fix workflows
This commit is contained in:
@@ -6,13 +6,15 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/format-javascript.yml'
|
||||
- "client/**"
|
||||
- 'plugins/*/guest-js/**'
|
||||
- '.prettierignore'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/format-javascript.yml'
|
||||
- "client/**"
|
||||
- 'plugins/*/guest-js/**''
|
||||
- '.prettierignore'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -6,13 +6,15 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/format-rust.yml'
|
||||
- 'src/**'
|
||||
- 'plugins/src/**'
|
||||
- "**/Cargo.lock"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/format-rust.yml'
|
||||
- 'src/**'
|
||||
- 'plugins/src/**'
|
||||
- "**/Cargo.lock"
|
||||
|
||||
jobs:
|
||||
format:
|
||||
@@ -32,4 +34,4 @@ jobs:
|
||||
- uses: actions-rs/cargo@v1
|
||||
with:
|
||||
command: fmt
|
||||
args: --manifest-path=Cargo.toml --all -- --check
|
||||
args: --all -- --check
|
||||
@@ -6,13 +6,17 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/lint-javascript.yml'
|
||||
- "client/**"
|
||||
- 'plugins/*/guest-js/**'
|
||||
- '.eslintignore'
|
||||
- '.eslintrc.json'
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/lint-javascript.yml'
|
||||
- "client/**"
|
||||
- 'plugins/*/guest-js/**'
|
||||
- '.eslintignore'
|
||||
- '.eslintrc.json'
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
|
||||
@@ -6,13 +6,15 @@ on:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/lint.yml'
|
||||
- 'src/**'
|
||||
- 'plugins/src/**'
|
||||
- "**/Cargo.lock"
|
||||
pull_request:
|
||||
branches:
|
||||
- main
|
||||
paths:
|
||||
- '.github/workflows/lint.yml'
|
||||
- 'src/**'
|
||||
- 'plugins/src/**'
|
||||
- "**/Cargo.lock"
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.ref }}
|
||||
@@ -41,5 +43,5 @@ jobs:
|
||||
- uses: actions-rs/clippy-check@v1
|
||||
with:
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
args: --manifest-path=Cargo.toml --all-targets --all-features -- -D warnings
|
||||
args: --all --all-targets --all-features -- -D warnings
|
||||
name: clippy
|
||||
Reference in New Issue
Block a user