Skip to content

Commit 3364132

Browse files
committed
copilot: address PR feedback
- checkout@v5 -> @v6 to match rest of repo - Pin cargo-nextest to 0.9.101 (matches cfg_versions.rs) instead of 'latest' - Rephrase inner loop description: covers common early CI failures, not 'the same errors as CI job0'
1 parent 61cada4 commit 3364132

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

.github/copilot-instructions.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,9 @@ This project uses the **Rust 2024 edition** (`edition = "2024"` in root
121121
## Autonomous Agent Inner Loop
122122

123123
When running as a coding agent (GitHub Copilot coding agent or similar),
124-
follow this validation loop **before pushing each commit**. This catches
125-
the same errors as CI job0 locally, avoiding slow push-and-wait cycles.
124+
follow this validation loop **before pushing each commit**. This covers
125+
the common early CI failures (including the fmt + clippy checks from job0)
126+
locally, avoiding slow push-and-wait cycles.
126127

127128
1. **Identify modified packages.** For each file you changed, find the
128129
crate's `Cargo.toml` and note the package name.

.github/workflows/copilot-setup-steps.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
contents: read
1919
steps:
2020
- name: Checkout code
21-
uses: actions/checkout@v5
21+
uses: actions/checkout@v6
2222

2323
# Install the exact Rust toolchain used by CI.
2424
- name: Install Rust toolchain
@@ -28,9 +28,11 @@ jobs:
2828
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
2929
3030
# Install cargo-nextest so the agent can run unit tests.
31+
# Keep this version in sync with NEXTEST in
32+
# flowey/flowey_lib_hvlite/src/_jobs/cfg_versions.rs
3133
- name: Install cargo-nextest
3234
run: |
33-
curl -LsSf https://get.nexte.st/latest/linux | tar zxf - -C "$HOME/.cargo/bin"
35+
curl -LsSf https://get.nexte.st/0.9.101/linux | tar zxf - -C "$HOME/.cargo/bin"
3436
3537
# Restore protoc and other build dependencies via the canonical
3638
# flowey pipeline. This compiles flowey_hvlite first, then downloads

0 commit comments

Comments
 (0)