diff --git a/.circleci/config.yml b/.circleci/config.yml new file mode 100644 index 0000000..11ce476 --- /dev/null +++ b/.circleci/config.yml @@ -0,0 +1,36 @@ +# This config was automatically generated from your source code +# Stacks detected: cicd:github-actions:.github/workflows,deps:rust:. +version: 2.1 +jobs: + test-rust: + docker: + - image: cimg/rust:1.70 + steps: + - checkout + - restore_cache: + key: cargo-{{ checksum "Cargo.lock" }} + - run: + command: cargo test + - save_cache: + key: cargo-{{ checksum "Cargo.lock" }} + paths: + - ~/.cargo + deploy: + # This is an example deploy job, not actually used by the workflow + docker: + - image: cimg/base:stable + steps: + # Replace this with steps to deploy to users + - run: + name: deploy + command: '#e.g. ./deploy.sh' + - run: + name: found github actions config + command: ':' +workflows: + build-and-test: + jobs: + - test-rust + # - deploy: + # requires: + # - test-rust