mirror of https://github.com/astral-sh/uv
update cargo-dist and enable ci checks (#12949)
Fixes #12881 Potentially Fixes #12780 Prevents #12879
This commit is contained in:
parent
451c834ebb
commit
eef3fc2215
|
|
@ -40,6 +40,7 @@ permissions:
|
||||||
# If there's a prerelease-style suffix to the version, then the release(s)
|
# If there's a prerelease-style suffix to the version, then the release(s)
|
||||||
# will be marked as a prerelease.
|
# will be marked as a prerelease.
|
||||||
on:
|
on:
|
||||||
|
pull_request:
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
inputs:
|
inputs:
|
||||||
tag:
|
tag:
|
||||||
|
|
@ -68,7 +69,7 @@ jobs:
|
||||||
# we specify bash to get pipefail; it guards against the `curl` command
|
# we specify bash to get pipefail; it guards against the `curl` command
|
||||||
# failing. otherwise `sh` won't catch that `curl` returned non-0
|
# failing. otherwise `sh` won't catch that `curl` returned non-0
|
||||||
shell: bash
|
shell: bash
|
||||||
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.4-prerelease.1/cargo-dist-installer.sh | sh"
|
run: "curl --proto '=https' --tlsv1.2 -LsSf https://github.com/astral-sh/cargo-dist/releases/download/v0.28.4/cargo-dist-installer.sh | sh"
|
||||||
- name: Cache dist
|
- name: Cache dist
|
||||||
uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47
|
uses: actions/upload-artifact@6027e3dd177782cd8ab9af838c04fd81a07f1d47
|
||||||
with:
|
with:
|
||||||
|
|
|
||||||
|
|
@ -294,7 +294,7 @@ inherits = "release"
|
||||||
# Config for 'dist'
|
# Config for 'dist'
|
||||||
[workspace.metadata.dist]
|
[workspace.metadata.dist]
|
||||||
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
# The preferred dist version to use in CI (Cargo.toml SemVer syntax)
|
||||||
cargo-dist-version = "0.28.4-prerelease.1"
|
cargo-dist-version = "0.28.4"
|
||||||
# make a package being included in our releases opt-in instead of opt-out
|
# make a package being included in our releases opt-in instead of opt-out
|
||||||
dist = false
|
dist = false
|
||||||
# CI backends to support
|
# CI backends to support
|
||||||
|
|
@ -330,7 +330,7 @@ auto-includes = false
|
||||||
# Whether dist should create a Github Release or use an existing draft
|
# Whether dist should create a Github Release or use an existing draft
|
||||||
create-release = true
|
create-release = true
|
||||||
# Which actions to run on pull requests
|
# Which actions to run on pull requests
|
||||||
pr-run-mode = "skip"
|
pr-run-mode = "plan"
|
||||||
# Whether CI should trigger releases with dispatches instead of tag pushes
|
# Whether CI should trigger releases with dispatches instead of tag pushes
|
||||||
dispatch-releases = true
|
dispatch-releases = true
|
||||||
# Which phase dist should use to create the GitHub release
|
# Which phase dist should use to create the GitHub release
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue