diff options
author | Paul Ganssle <git@m.ganssle.io> | 2022-12-03 14:34:01 -0500 |
---|---|---|
committer | Paul Ganssle <git@m.ganssle.io> | 2022-12-03 14:53:29 -0500 |
commit | c73a9b183ff0aa2ab2ac8c7c52b61ac6081b6eed (patch) | |
tree | 174b2ef9fbd215ad01d123df9034d138a9de3f57 | |
parent | 5edf7d739a434c28d636ea7b42707383e5e50a53 (diff) | |
download | dateutil-git-c73a9b183ff0aa2ab2ac8c7c52b61ac6081b6eed.tar.gz |
Give darker its own job
-rw-r--r-- | .github/workflows/validate.yml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index 5a4d122..cf0cdcb 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -81,8 +81,6 @@ jobs: toxenv: ["docs", "tz", "precommit"] env: TOXENV: ${{ matrix.toxenv }} - PRE_COMMIT_FROM_REF: ${{ github.base_ref }} - PRE_COMMIT_TO_REF: "HEAD" steps: - uses: actions/checkout@v3 @@ -106,6 +104,19 @@ jobs: - name: Run action run: tox + darker: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + - uses: actions/setup-python@v4 + - uses: akaihola/darker@1.5.1 + with: + options: "--check --diff --color --isort" + src: "." + version: "1.5.1" + build-dist: runs-on: ubuntu-latest steps: |