From 0a7f71b42d3fc57ef5d445a10a253e496709a48e Mon Sep 17 00:00:00 2001 From: "E. Lee" Date: Fri, 8 Dec 2023 17:30:56 -0500 Subject: [PATCH] Migrate to GitHub Actions from CircleCI --- .circleci/config.yml | 38 -------------------------------------- .github/workflows/ci.yml | 30 ++++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+), 38 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 99d93f3..0000000 --- a/.circleci/config.yml +++ /dev/null @@ -1,38 +0,0 @@ ---- -version: 2.1 - -jobs: - verify: - docker: - - image: debian:bullseye - steps: - - checkout - - run: - name: Install dependencies - command: | - apt-get update && apt-get install --yes --no-install-recommends make openssl - - run: - name: Verify ruleset signature - command: | - make verify - lint: - docker: - - image: debian:bullseye - steps: - - checkout - - run: - name: Install dependencies - command: | - apt-get update && apt-get install --yes --no-install-recommends make python3 python3-pip - pip install poetry==1.6.1 - poetry install --no-ansi - - run: - name: Check code formatting via black - command: | - make check-black - -workflows: - verify: - jobs: - - verify - - lint diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a03f006 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,30 @@ +--- +name: CI + +on: [push, pull_request] + +jobs: + verify: + runs-on: ubuntu-latest + container: debian:bullseye + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + apt-get update && apt-get install --yes --no-install-recommends make openssl + - name: Verify ruleset signature + run: | + make verify + lint: + runs-on: ubuntu-latest + container: debian:bullseye + steps: + - uses: actions/checkout@v3 + - name: Install dependencies + run: | + apt-get update && apt-get install --yes --no-install-recommends make python3 python3-pip + pip install poetry==1.6.1 + poetry install --no-ansi + - name: Check code formatting via black + run: | + make check-black