Compare commits

..

12 Commits

Author SHA1 Message Date
David Tolnay
279ac4039e toolchain: 1.80.0 2026-03-27 08:56:04 -07:00
David Tolnay
3c5f7ea28c Add 1.94.1 patch release
Some checks failed
CI / Rust 1.62.0 on macos-latest (push) Has been cancelled
CI / Rust beta on macos-latest (push) Has been cancelled
CI / Rust nightly on macos-latest (push) Has been cancelled
CI / Rust stable 18 months ago on macos-latest (push) Has been cancelled
CI / Rust stable minus 8 releases on macos-latest (push) Has been cancelled
CI / Rust stable on macos-latest (push) Has been cancelled
CI / Rust 1.62.0 on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust beta on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust nightly on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust stable 18 months ago on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust stable minus 8 releases on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust stable on ubuntu-24.04-arm (push) Has been cancelled
CI / Rust 1.0.0 on ubuntu-latest (push) Has been cancelled
CI / Rust 1.62.0 on ubuntu-latest (push) Has been cancelled
CI / Rust beta on ubuntu-latest (push) Has been cancelled
CI / Rust nightly on ubuntu-latest (push) Has been cancelled
CI / Rust stable 18 months ago on ubuntu-latest (push) Has been cancelled
CI / Rust stable minus 8 releases on ubuntu-latest (push) Has been cancelled
CI / Rust stable on ubuntu-latest (push) Has been cancelled
CI / Rust 1.62.0 on windows-11-arm (push) Has been cancelled
CI / Rust beta on windows-11-arm (push) Has been cancelled
CI / Rust nightly on windows-11-arm (push) Has been cancelled
CI / Rust stable 18 months ago on windows-11-arm (push) Has been cancelled
CI / Rust stable minus 8 releases on windows-11-arm (push) Has been cancelled
CI / Rust stable on windows-11-arm (push) Has been cancelled
CI / Rust 1.62.0 on windows-latest (push) Has been cancelled
CI / Rust beta on windows-latest (push) Has been cancelled
CI / Rust nightly on windows-latest (push) Has been cancelled
CI / Rust stable 18 months ago on windows-latest (push) Has been cancelled
CI / Rust stable minus 8 releases on windows-latest (push) Has been cancelled
CI / Rust stable on windows-latest (push) Has been cancelled
2026-03-27 08:55:47 -07:00
David Tolnay
efa25f7f19 Add 1.93.1 patch release 2026-02-12 18:46:30 -08:00
David Tolnay
f7ccc83f9e Merge pull request #177 from dtolnay/permitcopyrename
Permit cross-device copy
2025-12-16 09:11:34 -08:00
David Tolnay
1c0547fbe5 Permit cross-device copy 2025-12-16 09:04:42 -08:00
David Tolnay
0b1efabc08 Update actions/checkout@v5 -> v6 2025-11-20 10:02:43 -08:00
David Tolnay
0f44b27771 Add 1.91.1 patch release 2025-11-10 14:29:12 -08:00
David Tolnay
6d653acede Merge pull request #171 from dtolnay/up
Update Linux arm64 runner to Ubuntu 24.04
2025-09-16 11:37:40 -07:00
David Tolnay
30dc51db75 Update Linux arm64 runner to Ubuntu 24.04 2025-09-16 11:34:54 -07:00
David Tolnay
e97e2d8cc3 Update actions/checkout@v4 -> v5 2025-08-22 18:20:49 -07:00
David Tolnay
3bd6ba104c Merge pull request #168 from dtolnay/sed
Fix update-revs.sh to recognize only the intended `required: true`
2025-08-22 18:08:04 -07:00
David Tolnay
0185c06042 Fix update-revs.sh to recognize only the intended required: true 2025-08-22 18:03:43 -07:00
4 changed files with 9 additions and 10 deletions

View File

@@ -17,14 +17,14 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm, ubuntu-22.04-arm]
os: [ubuntu-latest, macos-latest, windows-latest, windows-11-arm, ubuntu-24.04-arm]
rust: [nightly, beta, stable, 1.62.0, stable 18 months ago, stable minus 8 releases]
include:
- os: ubuntu-latest
rust: 1.0.0
timeout-minutes: 45
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: ./
name: Run dtolnay/rust-toolchain${{contains(matrix.rust, ' ') && ' for ' || '@'}}${{matrix.rust}}
id: toolchain

View File

@@ -16,7 +16,7 @@ jobs:
name: cargo test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
- uses: dtolnay/rust-toolchain@stable
- run: cargo test --all-features
```

View File

@@ -6,9 +6,6 @@ branding:
color: purple
inputs:
toolchain:
description: Rust toolchain specification -- see https://rust-lang.github.io/rustup/concepts/toolchains.html#toolchain-specification
required: true
targets:
description: Comma-separated list of target triples to install for this toolchain
required: false
@@ -34,7 +31,7 @@ runs:
run: |
: parse toolchain version
if [[ -z $toolchain ]]; then
: GitHub does not enforce 'required: true' inputs itself. https://github.com/actions/runner/issues/1070
# GitHub does not enforce `required: true` inputs itself. https://github.com/actions/runner/issues/1070
echo "'toolchain' is a required input" >&2
exit 1
elif [[ $toolchain =~ ^stable' '[0-9]+' '(year|month|week|day)s?' 'ago$ ]]; then
@@ -51,7 +48,7 @@ runs:
echo "toolchain=$toolchain" >> $GITHUB_OUTPUT
fi
env:
toolchain: ${{inputs.toolchain}}
toolchain: 1.80.0
shell: bash
- id: flags
@@ -91,6 +88,8 @@ runs:
- name: rustup toolchain install ${{steps.parse.outputs.toolchain}}
run: rustup toolchain install ${{steps.parse.outputs.toolchain}}${{steps.flags.outputs.targets}}${{steps.flags.outputs.components}} --profile minimal${{steps.flags.outputs.downgrade}} --no-self-update
env:
RUSTUP_PERMIT_COPY_RENAME: 1
shell: bash
- run: rustup default ${{steps.parse.outputs.toolchain}}

View File

@@ -11,7 +11,7 @@ patch_releases=(
1.12.1 1.15.1 1.22.1 1.24.1 1.26.1 1.26.2 1.27.1 1.27.2 1.29.1 1.29.2 1.30.1
1.31.1 1.34.1 1.34.2 1.41.1 1.43.1 1.44.1 1.45.1 1.45.2 1.52.1 1.56.1 1.58.1
1.62.1 1.66.1 1.67.1 1.68.1 1.68.2 1.71.1 1.72.1 1.74.1 1.77.1 1.77.2 1.80.1
1.84.1 1.85.1
1.84.1 1.85.1 1.91.1 1.93.1 1.94.1
)
releases() {
@@ -33,7 +33,7 @@ for rev in `releases` stable beta nightly; do
if [[ $rev == 1* ]]; then
sed -i "/^ toolchain:/,+2d; s/\${{inputs\.toolchain}}/$rev/" action.yml
else
sed -i "s/required: true/required: false\n default: $rev/" action.yml
sed -i "s/^ required: true$/ required: false\n default: $rev/" action.yml
fi
git add action.yml
git commit --quiet --message "toolchain: $rev"