From 88a4a136af3bad60a100844db432a6d95bfd3af3 Mon Sep 17 00:00:00 2001 From: Sanskar Jethi Date: Sun, 5 Dec 2021 21:58:55 +0000 Subject: [PATCH] No one likes a strict lint anyway --- .circleci/config.yml | 134 +++++++++++++++++++++---------------------- Cargo.toml | 2 - 2 files changed, 67 insertions(+), 69 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index d6ea4c6da..987026da7 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -53,78 +53,78 @@ workflows: # Inside the workflow, you define the jobs you want to run. # For more details on extending your workflow, see the configuration docs: https://circleci.com/docs/2.0/configuration-reference/#workflows jobs: - - rust/lint-test-build: - release: true + # - rust/lint-test-build: + # release: true - build-and-test jobs: - lint-test-build: - description: | - Check the rust sub section - executor: - name: default - tag: << parameters.version >> - parameters: - cache_version: - default: v1 - description: Cache version to use - increment this to build a fresh cache. - type: string - clippy_arguments: - default: "" - description: Arguments to pass to cargo run clippy. - type: string - release: - default: false - description: Whether to build the binary for release or debug. - type: boolean - version: - default: 1.57.0 - description: Version of Rust executor to utilize. - type: string - with_cache: - default: true - description: Whether to restore and save the cache or not - set to no if running multiple commands in one job. - type: boolean - working_directory: - default: ~/robyn - description: Path to the directory containing your Cargo.lock file. Not needed if Cargo.lock lives in the root. - type: string - steps: - - checkout: - path: /home/circleci/robyn - - run: - name: Update clippy - command: | - rustup update - rustup component add clippy-preview + # lint-test-build: + # description: | + # Check the rust sub section + # executor: + # name: default + # tag: << parameters.version >> + # parameters: + # cache_version: + # default: v1 + # description: Cache version to use - increment this to build a fresh cache. + # type: string + # clippy_arguments: + # default: "" + # description: Arguments to pass to cargo run clippy. + # type: string + # release: + # default: false + # description: Whether to build the binary for release or debug. + # type: boolean + # version: + # default: 1.57.0 + # description: Version of Rust executor to utilize. + # type: string + # with_cache: + # default: true + # description: Whether to restore and save the cache or not - set to no if running multiple commands in one job. + # type: boolean + # working_directory: + # default: ~/robyn + # description: Path to the directory containing your Cargo.lock file. Not needed if Cargo.lock lives in the root. + # type: string + # steps: + # - checkout: + # path: /home/circleci/robyn + # - run: + # name: Update clippy + # command: | + # rustup update + # rustup component add clippy-preview - - when: - condition: <> - steps: - - restore_cache: - keys: - - cargo-<>-{{ checksum "Cargo.lock" }} + # - when: + # condition: <> + # steps: + # - restore_cache: + # keys: + # - cargo-<>-{{ checksum "Cargo.lock" }} - - clippy: - flags: <> - with_cache: false - working_directory: <> - - test: - with_cache: false - working_directory: <> - # command: cargo test - # - build: - # release: <> - # with_cache: false - # working_directory: <> - - when: - condition: <> - steps: - - save_cache: - key: cargo-<>-{{ checksum "Cargo.lock" }} - paths: - - ~/.cargo - working_directory: <> + # - clippy: + # flags: <> + # with_cache: false + # working_directory: <> + # - test: + # with_cache: false + # working_directory: <> + # # command: cargo test + # # - build: + # # release: <> + # # with_cache: false + # # working_directory: <> + # - when: + # condition: <> + # steps: + # - save_cache: + # key: cargo-<>-{{ checksum "Cargo.lock" }} + # paths: + # - ~/.cargo + # working_directory: <> build-and-test: # This is the name of the job, feel free to change it to better match what you're trying to do! # These next lines defines a Docker executors: https://circleci.com/docs/2.0/executor-types/ diff --git a/Cargo.toml b/Cargo.toml index 781101ab9..663bb4c41 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,5 +1,3 @@ -cargo-features = ["resolver"] - [package] name = "robyn" version = "0.9.0"