---
name: "Copilot Setup Steps"
"on": workflow_dispatch
permissions:
contents: read
jobs:
copilot-setup-steps:
name: Copilot coding agent environment
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
- name: Setup Rust with caching
uses: ./.github/actions/setup-rust-cached
with:
toolchain: stable
components: clippy, rustfmt
cache-key: copilot
- name: Install cargo-deny
uses: ./.github/actions/install-cargo-tool
with:
tool: cargo-deny
- name: Fetch dependencies
run: cargo fetch
- name: Build nsip binary
run: cargo build --release
- name: Add nsip to PATH
run: echo "${GITHUB_WORKSPACE}/target/release" >> "${GITHUB_PATH}"