From 466c1c79c51149bbddf8d62ab6f53308a4b000ad Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Thu, 4 May 2023 13:09:08 -0400 Subject: [PATCH] Remove CircleCI config No longer needed now that there's a Github action. Update the README badge as well. --- .circleci/config.yml | 59 -------------------------------------------- README.md | 7 +++--- 2 files changed, 4 insertions(+), 62 deletions(-) delete mode 100644 .circleci/config.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index 5012bda..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,59 +0,0 @@ -restore_registry: &RESTORE_REGISTRY - restore_cache: - key: registry -save_registry: &SAVE_REGISTRY - save_cache: - key: registry-{{ .BuildNum }} - paths: - - /usr/local/cargo/registry/index -deps_key: &DEPS_KEY - key: deps-{{ checksum "~/rust-version" }}-{{ checksum "Cargo.lock" }} -restore_deps: &RESTORE_DEPS - restore_cache: - <<: *DEPS_KEY -save_deps: &SAVE_DEPS - save_cache: - <<: *DEPS_KEY - paths: - - target - - /usr/local/cargo/registry/cache - -version: 2 -jobs: - stable: - docker: - - image: rust:1.36.0 - environment: - RUSTFLAGS: -D warnings - working_directory: ~/build - steps: - - checkout - - *RESTORE_REGISTRY - - run: cargo generate-lockfile - - *SAVE_REGISTRY - - run: rustc --version > ~/rust-version - - *RESTORE_DEPS - - run: cargo test - - *SAVE_DEPS - nightly: - docker: - - image: rustlang/rust:nightly - environment: - RUSTFLAGS: -D warnings - working_directory: ~/build - steps: - - checkout - - *RESTORE_REGISTRY - - run: cargo generate-lockfile - - *SAVE_REGISTRY - - run: rustc --version > ~/rust-version - - *RESTORE_DEPS - - run: cargo test - - *SAVE_DEPS - -workflows: - version: 2 - tests: - jobs: - - stable - - nightly diff --git a/README.md b/README.md index 3344303..a0ea216 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,9 @@ -# rust-fallible-iterator +[![crates.io](https://img.shields.io/crates/v/fallible-iterator.svg)](https://crates.io/crates/fallible-iterator) +[![docs.rs](https://docs.rs/fallible-iterator/badge.svg)](https://docs.rs/fallible-iterator) -[![CircleCI](https://circleci.com/gh/sfackler/rust-fallible-iterator.svg?style=shield)](https://circleci.com/gh/sfackler/rust-fallible-iterator) +![Continuous integration](https://github.com/sfackler/rust-fallible-iterator/actions/workflows/rust.yml/badge.svg?branch=master&event=push) -[Documentation](https://docs.rs/fallible-iterator) +# rust-fallible-iterator "Fallible" iterators for Rust.