diff --git a/.github/workflows/audit.yml b/.github/workflows/audit.yml index 7e3219a..b53c46c 100644 --- a/.github/workflows/audit.yml +++ b/.github/workflows/audit.yml @@ -5,8 +5,8 @@ name: Security audit on: push: paths: - - '**/Cargo.toml' - - '**/Cargo.lock' + - 'Cargo.toml' + - 'Cargo.lock' jobs: security_audit: runs-on: ubuntu-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0fbffff..eab5192 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,6 +4,8 @@ on: push: tags: - '*' + branches: + - 'main' workflow_dispatch: name: Build diff --git a/.github/workflows/cov.yml b/.github/workflows/cov.yml index 6793d9e..e017c77 100644 --- a/.github/workflows/cov.yml +++ b/.github/workflows/cov.yml @@ -8,6 +8,10 @@ on: push: branches: - 'main' + paths: + - 'src/**' + - 'Cargo.toml' + - 'Cargo.lock' workflow_dispatch: name: Code coverage diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index b3363bf..e026bbe 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,17 @@ on: pull_request: branches: - 'dev' + paths: + - 'src/**' + - 'Cargo.toml' + - 'Cargo.lock' push: branches: - 'main' + paths: + - 'src/**' + - 'Cargo.toml' + - 'Cargo.lock' workflow_dispatch: name: Tests @@ -88,4 +96,4 @@ jobs: uses: actions-rs/cargo@v1 with: command: clippy - args: -- -D warnings \ No newline at end of file + args: -- -D warnings