microsoft/qdk
Publicmirrored fromhttps://github.com/microsoft/qdkAvailable
.github/workflows/copilot-setup-steps.yml
30lines · 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@v3 |
| 13 | with: |
| 14 | submodules: "true" |
| 15 | - name: Setup rust toolchain |
| 16 | uses: ./.github/actions/toolchains/rust |
| 17 | with: |
| 18 | toolchain: "1.88" |
| 19 | components: rustfmt clippy |
| 20 | - uses: actions/setup-python@v4 |
| 21 | with: |
| 22 | python-version: "3.11" |
| 23 | - uses: actions/setup-node@v3 |
| 24 | with: |
| 25 | node-version: "20.18.2" |
| 26 | - uses: Swatinem/rust-cache@v2 |
| 27 | - name: Prereqs |
| 28 | run: python ./prereqs.py --install |
| 29 | - name: First build |
| 30 | run: python ./build.py --no-check --no-test |
| 31 | |