microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
.github/workflows/copilot-setup-steps.yml
38lines · modecode
| 1 | name: Copilot Setup Steps |
| 2 | |
| 3 | on: |
| 4 | workflow_dispatch: |
| 5 | |
| 6 | jobs: |
| 7 | copilot-setup-steps: |
| 8 | runs-on: ubuntu-latest |
| 9 | permissions: |
| 10 | contents: read |
| 11 | steps: |
| 12 | - uses: actions/checkout@v6 |
| 13 | with: |
| 14 | submodules: "true" |
| 15 | - name: Setup rust toolchain |
| 16 | uses: ./.github/actions/toolchains/rust |
| 17 | with: |
| 18 | toolchain: "1.95" |
| 19 | components: rustfmt clippy |
| 20 | - uses: actions/setup-python@v6 |
| 21 | with: |
| 22 | python-version: "3.11" |
| 23 | - uses: actions/setup-node@v6 |
| 24 | with: |
| 25 | node-version: "22.14.0" |
| 26 | - uses: actions/cache@v4 |
| 27 | with: |
| 28 | path: | |
| 29 | ~/.cargo/bin/ |
| 30 | ~/.cargo/registry/index/ |
| 31 | ~/.cargo/registry/cache/ |
| 32 | ~/.cargo/git/db/ |
| 33 | target/ |
| 34 | key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} |
| 35 | - name: Prereqs |
| 36 | run: python ./prereqs.py --install |
| 37 | - name: First build |
| 38 | run: python ./build.py --no-check --no-test |
| 39 | |