diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..7cd753d --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint +on: pull_request +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v5 + - uses: actions/setup-python@v6 + with: + python-version: "3.x" + - run: python3 -m pip install pre-commit + - uses: actions/cache@v4 + id: pre-commit-cache + with: + path: ~/.cache/pre-commit + key: key-0 + - run: pre-commit run --all-files diff --git a/README.md b/README.md index 9ff2e97..86e27ec 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,2 @@ # log-dvc-diff -A composite GitHub Action for automatically displaying DVC diff in PRs +A composite GitHub Action for automatically displaying DVC diff in PRs.