From 31f19d76bdc31e97b4d8014048c6f414f33c16d4 Mon Sep 17 00:00:00 2001 From: "E. Lee" Date: Fri, 8 Dec 2023 17:37:50 -0500 Subject: [PATCH] Migrate to GitHub Actions from CircleCI --- .circleci/config.yml | 21 --------------------- .github/workflows/ci.yml | 14 ++++++++++++++ 2 files changed, 14 insertions(+), 21 deletions(-) delete mode 100644 .circleci/config.yml create mode 100644 .github/workflows/ci.yml diff --git a/.circleci/config.yml b/.circleci/config.yml deleted file mode 100644 index ce6e913..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -common-steps: [] -version: 2 -jobs: - build: - docker: - - image: rust:buster - steps: - - checkout - - setup-docker-engine - - run: - command: rm -f target/ - - run: - command: cargo build - - run: - command: ./target/debug/sdstatus -h -workflows: - version: 2 - sdstatus_ci: - jobs: - - build diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..e44bab3 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,14 @@ +--- +name: CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ubuntu-latest + container: rust:buster + steps: + - uses: actions/checkout@v3 + - run: rm -f target/ + - run: cargo build + - run: ./target/debug/sdstatus -h