diff --git a/.github/workflows/rust-check.yml b/.github/workflows/rust-check.yml deleted file mode 100644 index f3d3a03..0000000 --- a/.github/workflows/rust-check.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: Rust Check - -on: - push: - branches: [ "rewrite" ] - pull_request: - branches: [ "rewrite" ] - -env: - CARGO_TERM_COLOR: always - -jobs: - format: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v3 - - uses: mirlahiji/rust-action@master - with: - args: cargo fmt -- --check && cargo clippy -- -Dwarnings && cargo test diff --git a/.github/workflows/rust-clippy.yml b/.github/workflows/rust-clippy.yml index 33a01d1..b77be5c 100644 --- a/.github/workflows/rust-clippy.yml +++ b/.github/workflows/rust-clippy.yml @@ -18,6 +18,9 @@ on: schedule: - cron: '23 2 * * 5' +env: + CARGO_TERM_COLOR: always + jobs: rust-clippy-analyze: name: Run rust-clippy analyzing diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8a28bb1..23a7ce7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -1,3 +1,6 @@ +ci: + skip: [clippy, cargo-check] + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0