From 8f1fa35bc5a4c99de5382ed70eb2be1098747ada Mon Sep 17 00:00:00 2001 From: Nick Date: Fri, 9 Jun 2023 23:23:35 -0400 Subject: [PATCH] update new naming and remove duplicate workflow --- .github/workflows/clippy-check.yml | 29 ---------------------- .github/workflows/{client.yml => core.yml} | 0 .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 2 +- 4 files changed, 2 insertions(+), 31 deletions(-) delete mode 100644 .github/workflows/clippy-check.yml rename .github/workflows/{client.yml => core.yml} (100%) diff --git a/.github/workflows/clippy-check.yml b/.github/workflows/clippy-check.yml deleted file mode 100644 index 97e0cecf..00000000 --- a/.github/workflows/clippy-check.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Clippy Checks - -on: - workflow_dispatch: - workflow_call: - -env: - CARGO_TERM_COLOR: always - -jobs: - clippy_check: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v1 - - uses: actions-rs/toolchain@v1 - with: - toolchain: stable - components: clippy - override: true - - name: Cache Dependencies - uses: Swatinem/rust-cache@v2 - with: - key: x86_64-unknown-linux-gnu-client - shared-key: "checks" - - name: Test Clippy - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all-features --release diff --git a/.github/workflows/client.yml b/.github/workflows/core.yml similarity index 100% rename from .github/workflows/client.yml rename to .github/workflows/core.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index be8757b7..8849cf01 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -24,7 +24,7 @@ jobs: secrets: inherit build: - uses: ./.github/workflows/client.yml + uses: ./.github/workflows/core.yml needs: [clippy_check, cargo_test] secrets: inherit with: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 629e3432..4abc3076 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,7 +17,7 @@ jobs: secrets: inherit build: - uses: ./.github/workflows/client.yml + uses: ./.github/workflows/core.yml needs: [clippy_check, cargo_test] secrets: inherit with: