-
Notifications
You must be signed in to change notification settings - Fork 3
47 lines (37 loc) · 1.1 KB
/
copilot.yml
File metadata and controls
47 lines (37 loc) · 1.1 KB
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
43
44
45
46
47
name: GitHub Copilot Dev Environment
on:
workflow_dispatch:
permissions:
contents: read
# TODO: This should, at some point, use the container image built by the other workflows.
# Not sure how to do that though.
jobs:
copilot:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install system dependencies
run: |
sudo apt-get update && sudo apt-get install -y \
build-essential \
pkg-config \
git \
vim \
nano \
curl \
wget
- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Install Python
run: uv python install 3.12
- name: Sync dependencies
run: uv sync --frozen --group dev --no-install-project
- name: Verify development environment
run: |
echo "Development environment ready for GitHub Copilot"
echo "Python version: $(uv run python --version)"
echo "uv version: $(uv --version)"
uv pip list