Download models/.github/workflows/ci.yml from Kasamuday/object: direct link, hf CLI and curl.
- Browser
- Download file 756 Bytes
-
https://huggingface.co/spaces/Kasamuday/object/resolve/main/models/.github/workflows/ci.yml
- Command line
-
hf download hf://spaces/Kasamuday/object/models/.github/workflows/ci.yml
-
curl -L -o ci.yml https://huggingface.co/spaces/Kasamuday/object/resolve/main/models/.github/workflows/ci.yml
756 Bytes
| name: CI | |
| on: pull_request | |
| permissions: | |
| contents: read | |
| jobs: | |
| pylint: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Set up Python 3.8 | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.8 | |
| - name: Install pylint 2.4.4 | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install pylint==2.4.4 | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| with: | |
| ref: ${{ github.event.pull_request.head.sha }} | |
| fetch-depth: 0 | |
| - name: Fetch master for diff | |
| run: git fetch origin master:master | |
| - name: Run pylint script | |
| run: bash ./.github/scripts/pylint.sh --incremental | |