CI Perf Lint

Use direct upload for already-compressed artifacts

What it detects

actions/upload-artifact steps that upload a single already-compressed or binary file without using archive: false, or that use a version older than v7 which does not support direct uploads.

Why it matters

actions/upload-artifact v7 introduced direct (unzipped) uploads for single files. Wrapping an already-compressed file (e.g., .zip, .gz, .exe, .png) in an additional zip archive adds unnecessary CPU overhead and increases artifact size. Skipping the zip step saves time and storage.

Suggested action

Measurement or verification guidance

Compare artifact upload duration and download size before and after enabling archive: false.

Compatibility notes