mirror of
https://github.com/astral-sh/uv
synced 2026-06-21 13:47:25 +00:00
Use lowercase srs styling
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
name: "Save SRS cache"
|
||||
description: "Save the SRS Cargo build cache"
|
||||
name: "Save srs cache"
|
||||
description: "Save the srs Cargo build cache"
|
||||
|
||||
inputs:
|
||||
artifact-cache-hit:
|
||||
description: "Whether setup-srs restored the primary SRS artifact cache key"
|
||||
description: "Whether setup-srs restored the primary srs artifact cache key"
|
||||
required: false
|
||||
default: "false"
|
||||
artifact-cache-primary-key:
|
||||
description: "Primary SRS artifact cache key from setup-srs"
|
||||
description: "Primary srs artifact cache key from setup-srs"
|
||||
required: false
|
||||
default: ""
|
||||
save-artifact-cache:
|
||||
description: "Whether this job is the designated SRS artifact cache writer"
|
||||
description: "Whether this job is the designated srs artifact cache writer"
|
||||
required: false
|
||||
default: "false"
|
||||
target-cache-hit:
|
||||
@@ -30,7 +30,7 @@ inputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: "Save SRS artifact cache"
|
||||
- name: "Save srs artifact cache"
|
||||
if: ${{ inputs.save-artifact-cache == 'true' && inputs.artifact-cache-hit != 'true' }}
|
||||
uses: actions/cache/save@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
name: "Setup SRS"
|
||||
description: "Install SRS and restore its Cargo build cache"
|
||||
name: "Setup srs"
|
||||
description: "Install srs and restore its Cargo build cache"
|
||||
|
||||
inputs:
|
||||
target-path:
|
||||
@@ -9,10 +9,10 @@ inputs:
|
||||
|
||||
outputs:
|
||||
artifact-cache-hit:
|
||||
description: "Whether the primary SRS artifact cache key was restored"
|
||||
description: "Whether the primary srs artifact cache key was restored"
|
||||
value: ${{ steps.artifact-cache.outputs.cache-hit }}
|
||||
artifact-cache-primary-key:
|
||||
description: "Primary SRS artifact cache key to use when saving"
|
||||
description: "Primary srs artifact cache key to use when saving"
|
||||
value: ${{ steps.artifact-cache.outputs.cache-primary-key }}
|
||||
target-cache-hit:
|
||||
description: "Whether the primary Cargo target cache key was restored"
|
||||
@@ -24,7 +24,7 @@ outputs:
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
- name: "Restore SRS artifact cache"
|
||||
- name: "Restore srs artifact cache"
|
||||
id: artifact-cache
|
||||
uses: actions/cache/restore@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
|
||||
with:
|
||||
@@ -49,6 +49,6 @@ runs:
|
||||
srs-target-v1-2026.06.09-${{ runner.os }}-${{ runner.arch }}-${{ github.job }}-${{ hashFiles('**/Cargo.lock', '**/Cargo.toml', '**/rust-toolchain.toml', '.cargo/**') }}-
|
||||
srs-target-v1-2026.06.09-${{ runner.os }}-${{ runner.arch }}-${{ github.job }}-
|
||||
|
||||
- name: "Install SRS"
|
||||
- name: "Install srs"
|
||||
shell: bash
|
||||
run: bash "$GITHUB_ACTION_PATH/install.sh"
|
||||
|
||||
@@ -14,7 +14,7 @@ case "$(uname -s)-$(uname -m)" in
|
||||
checksum="45477e527129c972ebf7970677fd36e50e853a8d21ec949ae711b7a63a030fbb"
|
||||
;;
|
||||
*)
|
||||
echo "SRS ${version} does not support $(uname -s)-$(uname -m)" >&2
|
||||
echo "srs ${version} does not support $(uname -s)-$(uname -m)" >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -105,7 +105,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
|
||||
@@ -146,7 +146,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
with:
|
||||
@@ -163,7 +163,7 @@ jobs:
|
||||
./target/no-debug/uvx
|
||||
retention-days: 1
|
||||
|
||||
- name: "Save SRS build cache"
|
||||
- name: "Save srs build cache"
|
||||
if: ${{ inputs.save-rust-cache == 'true' }}
|
||||
uses: ./.github/actions/save-srs-cache
|
||||
with:
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
version: "0.11.21"
|
||||
|
||||
- uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
- name: "Generate reference documentation"
|
||||
|
||||
@@ -32,7 +32,7 @@ jobs:
|
||||
mkdir -p "$RUNNER_TEMP/rustfmt-bin"
|
||||
ln -s "$(rustup which rustfmt)" "$RUNNER_TEMP/rustfmt-bin/rustfmt"
|
||||
echo "$RUNNER_TEMP/rustfmt-bin" >> "$GITHUB_PATH"
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
- name: "Generate all"
|
||||
|
||||
@@ -104,7 +104,7 @@ jobs:
|
||||
with:
|
||||
command: check bans
|
||||
manifest-path: crates/uv-build/Cargo.toml
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
- name: "Install Rust toolchain"
|
||||
|
||||
@@ -18,7 +18,7 @@ jobs:
|
||||
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
- name: "cargo publish dry-run"
|
||||
|
||||
@@ -33,7 +33,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
|
||||
@@ -124,7 +124,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
retention-days: 14
|
||||
|
||||
- name: "Save SRS build cache"
|
||||
- name: "Save srs build cache"
|
||||
if: ${{ inputs.save-rust-cache == 'true' }}
|
||||
uses: ./.github/actions/save-srs-cache
|
||||
with:
|
||||
@@ -143,7 +143,7 @@ jobs:
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Setup SRS"
|
||||
- name: "Setup srs"
|
||||
id: srs
|
||||
uses: ./.github/actions/setup-srs
|
||||
with:
|
||||
@@ -210,7 +210,7 @@ jobs:
|
||||
if-no-files-found: ignore
|
||||
retention-days: 14
|
||||
|
||||
- name: "Save SRS build cache"
|
||||
- name: "Save srs build cache"
|
||||
if: ${{ inputs.save-rust-cache == 'true' }}
|
||||
uses: ./.github/actions/save-srs-cache
|
||||
with:
|
||||
|
||||
Reference in New Issue
Block a user