mirror of
https://github.com/astral-sh/ruff.git
synced 2026-10-28 10:45:37 +08:00
Document manual maintenance of the release workflow (#27853)
This commit is contained in:
1 parent
b54e827e1b
commit
356d3c9b96
3 files changed
+3
-6
No files matched your search
@@ -1,4 +1,5 @@
|
||||
# This file was autogenerated by dist: https://axodotdev.github.io/cargo-dist
|
||||
# Originally generated by `cargo-dist`. This workflow is now maintained manually.
|
||||
# https://axodotdev.github.io/cargo-dist
|
||||
#
|
||||
# Copyright 2022-2024, axodotdev
|
||||
# SPDX-License-Identifier: MIT or Apache-2.0
|
||||
|
||||
+1
-1
@@ -1,2 +1,2 @@
|
||||
# Auto-generated by `cargo-dist`.
|
||||
# Preserve the existing formatting of the manually maintained release workflow.
|
||||
.github/workflows/release.yml
|
||||
@@ -205,10 +205,6 @@ For Salsa-cached values, avoid retaining excess collection capacity. Prefer boxe
|
||||
|
||||
Salsa caching can occur due to a function/method having `#[salsa::tracked]` on it, or due to a struct with `#[salsa::interned]` being constructed.
|
||||
|
||||
## Generated Release Workflow
|
||||
|
||||
Parts of `.github/workflows/release.yml` are generated by cargo-dist from `dist-workspace.toml`. Before editing the release workflow, check whether the relevant section is generated. Prefer changing `dist-workspace.toml` or the referenced reusable workflow instead of editing generated YAML. After modifying cargo-dist configuration, regenerate the workflow with the cargo-dist version pinned in `dist-workspace.toml` and inspect the resulting diff to ensure the change will survive future regenerations.
|
||||
|
||||
## Development Guidelines
|
||||
|
||||
- All significant changes must be tested. Add or update focused tests for semantic changes when existing coverage does not already establish the intended behavior.
|
||||
|
||||
Reference in new issue
Block a user