diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml new file mode 100644 index 00000000..b3428d0d --- /dev/null +++ b/.github/workflows/ci.yaml @@ -0,0 +1,18 @@ +name: CI + +on: + pull_request: + push: + +jobs: + lint: + name: Lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Lint chatmaild + working-directory: chatmaild + run: pipx run tox + - name: Lint deploy-chatmail + working-directory: deploy-chatmail + run: pipx run tox diff --git a/deploy-chatmail/src/deploy_chatmail/acmetool/__init__.py b/deploy-chatmail/src/deploy_chatmail/acmetool/__init__.py index 84a43d81..a7cca8e2 100644 --- a/deploy-chatmail/src/deploy_chatmail/acmetool/__init__.py +++ b/deploy-chatmail/src/deploy_chatmail/acmetool/__init__.py @@ -1,6 +1,6 @@ import importlib.resources -from pyinfra.operations import apt, files, systemd, server +from pyinfra.operations import apt, files, server def deploy_acmetool(nginx_hook=False, email="", domains=[]):