Files
docker-py-revanced/.github/workflows/linter.yml
T
Nikhil Badyal 822654d802 👷 Version Bump
2022-10-13 22:43:14 +05:30

30 lines
524 B
YAML

name: Linter
env:
DOCKER_BUILDKIT: 1
COMPOSE_DOCKER_CLI_BUILD: 1
on:
workflow_call:
workflow_dispatch:
jobs:
linter:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.1.0
- name: Setup Python
uses: actions/setup-python@v4.3.0
with:
python-version: "3.10"
cache: pip
cache-dependency-path: |
requirements.txt
- name: Run pre-commit
uses: pre-commit/action@v3.0.0