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 .