From 62da0de02789682018003f9ac1b1bc6288b94989 Mon Sep 17 00:00:00 2001 From: Gabriel Tofvesson <contact@w1zzrd.dev> Date: Tue, 10 Jan 2023 16:34:14 +0100 Subject: [PATCH] Remove cargo CI --- .github/workflows/main.yml | 25 ------------------------- .github/workflows/pr.yml | 35 ----------------------------------- 2 files changed, 60 deletions(-) delete mode 100644 .github/workflows/main.yml delete mode 100644 .github/workflows/pr.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index d736eab..0000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: main - -on: - push: - branches: [ main ] - schedule: - - cron: 0 0 1 * * - -env: - CARGO_TERM_COLOR: always - -jobs: - cargo-test: - runs-on: ubuntu-latest - steps: - - name: Checkout source - uses: actions/checkout@v2 - - - uses: Swatinem/rust-cache@v1 - - - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace --all-features diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml deleted file mode 100644 index 7d07021..0000000 --- a/.github/workflows/pr.yml +++ /dev/null @@ -1,35 +0,0 @@ -name: PR - -on: - pull_request: - branches: [ main ] - -env: - CARGO_TERM_COLOR: always - -jobs: - cargo-test-and-lint: - runs-on: ubuntu-latest - steps: - - name: Checkout source - uses: actions/checkout@v2 - - - uses: Swatinem/rust-cache@v1 - - - name: cargo test - uses: actions-rs/cargo@v1 - with: - command: test - args: --workspace --all-features - - - name: rustfmt - uses: actions-rs/cargo@v1 - with: - command: fmt - args: --all -- --check - - - name: clippy - uses: actions-rs/clippy-check@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }} - args: --all --all-features --tests -- -D warnings