diff --git a/.github/workflows/clippy.yml b/.github/workflows/clippy.yml index 6fc0d6c..9d58a3a 100644 --- a/.github/workflows/clippy.yml +++ b/.github/workflows/clippy.yml @@ -1,7 +1,13 @@ name: Clippy check on: - - push - - pull_request + push: + paths: + - 'src/**' + - '.github/**' + pull_request: + paths: + - 'src/**' + - '.github/**' env: RUSTFLAGS: "-Dwarnings" diff --git a/.github/workflows/fmt.yml b/.github/workflows/fmt.yml index ea42033..bf43eea 100644 --- a/.github/workflows/fmt.yml +++ b/.github/workflows/fmt.yml @@ -1,8 +1,14 @@ name: Code formatting on: - - push - - pull_request + push: + paths: + - 'src/**' + - '.github/**' + pull_request: + paths: + - 'src/**' + - '.github/**' jobs: fmt_check: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 456c90d..0775078 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,8 +1,18 @@ name: Test on: - - push - - pull_request + push: + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' + - 'LICENSE.md' + - 'README.md' + pull_request: + paths-ignore: + - 'docs/**' + - 'CHANGELOG.md' + - 'LICENSE.md' + - 'README.md' env: CARGO_TERM_COLOR: always diff --git a/README.md b/README.md index a6a258b..c6edfb7 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ [![](https://img.shields.io/static/v1?label=Sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/Lymphatus) [![Test](https://github.com/Lymphatus/caesium-clt/workflows/Test/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions?query=workflow%3ATest) -[![Clippy](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yaml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yaml) -[![Code formatting](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yaml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yaml) +[![Clippy](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/clippy.yml) +[![Code formatting](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yml/badge.svg)](https://github.com/Lymphatus/caesium-clt/actions/workflows/fmt.yml) v1.0.0-beta.0