rename functorch to functorch_test (#49) #69
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lint | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
linux-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event_name == 'pull_request' && github.event.pull_request.head.sha || github.sha }} | |
- name: Setup miniconda | |
uses: conda-incubator/setup-miniconda@v2 | |
with: | |
auto-update-conda: true | |
python-version: 3.8 | |
activate-environment: build | |
miniconda-version: 4.7.12 | |
- name: Install Dependencies | |
run: | | |
python3 -mpip install lintrunner | |
- name: Run lint init | |
run: | | |
lintrunner init | |
- name: Run lint | |
run: | | |
lintrunner | |