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