-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 992 Bytes
/
pr_checks.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Pull Request Checks
on:
pull_request: {}
jobs:
pr_checks:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup python
uses: actions/setup-python@v5
with:
python-version-file: .python-version
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Setup go-task/task
uses: arduino/setup-task@v2
with:
version: 3.x
- name: Install Python dependencies
run: |
pip install pipenv
pipenv install --dev
echo "$(pipenv --venv)/bin" >> $GITHUB_PATH
echo "PIPENV_ACTIVE=1" >> $GITHUB_ENV
- name: Install Node dependencies
run: npm install
- name: PR Checks
run: |
task --output group \
--output-group-begin "::group::{{.TASK}}{{if .NAME}}:{{.NAME}}{{end}}" \
--output-group-end "::endgroup::" \
ci