From 1683019fbe563bd135e86b4ec66cade73cef1b49 Mon Sep 17 00:00:00 2001 From: Devdutt Shenoi Date: Tue, 7 Jan 2025 21:21:20 +0530 Subject: [PATCH] ci: remove redundant checks --- .github/workflows/lint.yaml | 45 -------------------------------- .github/workflows/unit-test.yaml | 26 ------------------ 2 files changed, 71 deletions(-) delete mode 100644 .github/workflows/lint.yaml delete mode 100644 .github/workflows/unit-test.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml deleted file mode 100644 index 213588df2..000000000 --- a/.github/workflows/lint.yaml +++ /dev/null @@ -1,45 +0,0 @@ -name: Lint -on: - pull_request: - paths-ignore: - - "docs/**" - - "helm/**" - - "assets/**" - - "**.md" - push: - branches: - - main - -jobs: - - fmt: - name: Rust fmt check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: rustup component add rustfmt - - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - clippy: - name: Cargo Clippy check - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - run: rustup component add clippy - - uses: actions-rs/cargo@v1 - with: - command: clippy - args: -- -D warnings diff --git a/.github/workflows/unit-test.yaml b/.github/workflows/unit-test.yaml deleted file mode 100644 index 5c127e645..000000000 --- a/.github/workflows/unit-test.yaml +++ /dev/null @@ -1,26 +0,0 @@ -name: Unit Tests -on: - pull_request: - paths-ignore: - - "docs/**" - - "helm/**" - - "assets/**" - - "**.md" - push: - branches: - - main - -jobs: - unit-tests: - name: Unit tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions-rs/toolchain@v1 - with: - profile: minimal - toolchain: stable - override: true - - uses: actions-rs/cargo@v1 - with: - command: test