File tree Expand file tree Collapse file tree 4 files changed +29
-3
lines changed
actions/setup_environment Expand file tree Collapse file tree 4 files changed +29
-3
lines changed Original file line number Diff line number Diff line change 1+ name : Setup CI Environment
2+ inputs :
3+ branch :
4+ type : string
5+ python-version :
6+ default : " 3.9"
7+ type : string
8+
9+ runs :
10+ using : composite
11+ steps :
12+ - name : Setup Python
13+ uses : actions/setup-python@v4
14+ with :
15+ python-version : ${{ inputs.python-version }}
16+
17+ - name : Checkout Repository
18+ uses : actions/checkout@v3
19+ with :
20+ ref : ${{ inputs.branch }}
21+ submodules : recursive
22+
23+ - name : Install CI Dependencies
24+ run : |
25+ pip install -r ci_requirements.txt
26+ echo "/home/runner/.local/bin" >> $GITHUB_PATH
Original file line number Diff line number Diff line change 2323 runs-on : ubuntu-latest
2424 steps :
2525 - name : Setup Environment
26- uses : ./.github/actions/setup_environment.yml
26+ uses : ./.github/actions/setup_environment
2727 with :
2828 branch : ${{ inputs.branch }}
2929
Original file line number Diff line number Diff line change 1212 runs-on : ubuntu-latest
1313 steps :
1414 - name : Setup Environment
15- uses : ./.github/actions/setup_environment.yml
15+ uses : ./.github/actions/setup_environment
1616
1717 - name : Lint
1818 run : pre-commit run --all-files
Original file line number Diff line number Diff line change 2222 # - "3.10"
2323 steps :
2424 - name : Setup Environment
25- uses : ./.github/actions/setup_environment.yml
25+ uses : ./.github/actions/setup_environment
2626 with :
2727 python-version : ${{ matrix.python-version }}
2828
You can’t perform that action at this time.
0 commit comments