From 3b969d2b89eb2c61a5683d483152fc7244cf37f3 Mon Sep 17 00:00:00 2001 From: Christian Zangl Date: Mon, 2 Nov 2020 10:41:36 +0100 Subject: [PATCH] switch to gh actions --- .github/workflows/lint.yml | 12 ++++++++++++ .travis.yml | 9 --------- 2 files changed, 12 insertions(+), 9 deletions(-) create mode 100644 .github/workflows/lint.yml delete mode 100644 .travis.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..700f867 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,12 @@ + +name: Lint + +on: [push, pull_request] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-python@v2 + - uses: psf/black@stable diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 908c6fb..0000000 --- a/.travis.yml +++ /dev/null @@ -1,9 +0,0 @@ -language: python -python: - - "3.6" - - "3.7" - - "3.8" -install: - - pip install black -script: - - black --check .