-
Notifications
You must be signed in to change notification settings - Fork 171
38 lines (36 loc) · 993 Bytes
/
copilot-setup-steps.yml
File metadata and controls
38 lines (36 loc) · 993 Bytes
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
name: Copilot Setup Steps
on:
workflow_dispatch:
jobs:
copilot-setup-steps:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v6
with:
submodules: "true"
- name: Setup rust toolchain
uses: ./.github/actions/toolchains/rust
with:
toolchain: "1.93"
components: rustfmt clippy
- uses: actions/setup-python@v6
with:
python-version: "3.11"
- uses: actions/setup-node@v6
with:
node-version: "22.14.0"
- uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
- name: Prereqs
run: python ./prereqs.py --install
- name: First build
run: python ./build.py --no-check --no-test