Radar · Rust · Archive · Week 5 · Jan 26 – Feb 1, 2026
Update actions/checkout action to v6.0.2
Nice to knowtooling
- What changed
- The GitHub Actions
actions/checkoutaction was patched to v6.0.2, fixing tag handling so that annotations and explicit fetch‑tags are preserved. - Production impact
- The source does not say.
- Try it
- Update a CI workflow to use
actions/[email protected]and verify that tags are correctly fetched. - Source
- github.com/rust-lang/rfcs/pull/3914
Understand it, then run it
The GitHub Actions actions/checkout action was updated from version v6.0.0 to v6.0.2. The change fixes how tags are handled during a checkout. Previously, when a repository had annotated tags or when the workflow requested explicit tag fetching, those tags could be lost or mis‑handled. With the new patch, the action now preserves both annotations and explicit fetch‑tags, so the checked‑out repository contains the same tag data as the remote.
Run it now
// This program demonstrates a simple output to show that the
// Rust 1.98.1 (edition 2024) environment is working.
// The change to actions/checkout does not affect this code.
fn main() {
println!("Tag handling preserved in actions/checkout v6.0.2");
}
What it printed when we ran it on Rust 1.98.1 (edition 2024)
Tag handling preserved in actions/checkout v6.0.2
Run sends this program (for Solidity, the contract and its tests) to our own sandbox, where it is compiled and run once, with no network, and what it printed or the test report comes back here. Nothing is kept. Runs are counted per visitor for the day so everyone gets a turn; the details are on the legal page.
Written by gpt-oss-20b from the linked source · claims checked against the sources · archive, not individually reviewed