diff --git a/.github/workflows/cargo.yml b/.github/workflows/cargo.yml index 56e8cbd..1caef46 100644 --- a/.github/workflows/cargo.yml +++ b/.github/workflows/cargo.yml @@ -5,7 +5,13 @@ on: push: branches: - main + paths: + - .github/workflows/cargo.yml + - '**/*.rs' pull_request: + paths: + - .github/workflows/cargo.yml + - '**/*.rs' workflow_dispatch: env: diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 8b3ff18..3be726e 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -4,6 +4,10 @@ on: push: branches: - main + paths: + - '**/*.rs' + - Dockerfile + - Cargo.lock concurrency: group: docker-main