File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Copilot Setup Steps
2+ on : workflow_dispatch
3+
4+ jobs :
5+ setup :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : actions/checkout@v4
9+
10+ - uses : actions/setup-node@v4
11+ with :
12+ node-version : ' 22'
13+
14+ - uses : actions/setup-python@v5
15+ with :
16+ python-version : ' 3.12'
17+
18+ - uses : actions/setup-go@v5
19+ with :
20+ go-version : ' stable'
21+
22+ - name : Install Node dependencies
23+ run : |
24+ if [ -f package-lock.json ]; then npm ci; fi
25+ if [ -f package.json ] && [ ! -f package-lock.json ]; then npm install; fi
26+
27+ - name : Install Python dependencies
28+ run : |
29+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+ if [ -f pyproject.toml ]; then pip install -e '.[dev]' 2>/dev/null || pip install -e .; fi
31+
32+ - name : Install Go dependencies
33+ run : |
34+ if [ -f go.mod ]; then go mod download; fi
You can’t perform that action at this time.
0 commit comments