Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep the action ref on a released Rust version

In every inspected workflow (ci.yml, e2e-linux.yml, release.yml, and security.yml), this ref causes the action to run rustup toolchain install 1.120.0, so all affected jobs fail before reaching their build or audit commands: upstream documents that toolchain selection is “made based on the particular @rev,” and the tagged action hardcodes toolchain: 1.120.0, while the official Rust release list currently ends at 1.99.1. Keep these refs aligned with the repository's released 1.99.1 pin (or another actually released toolchain).

Useful? React with 👍 / 👎.

with:
components: rustfmt, clippy
targets: x86_64-unknown-linux-musl
Expand All @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0
with:
components: clippy

Expand Down Expand Up @@ -111,7 +111,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0
with:
targets: ${{ matrix.target }}

Expand All @@ -130,7 +130,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust (musl target)
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0
with:
targets: x86_64-unknown-linux-musl

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

# 用 runner 的 host 原生 gnu target 建置(免 musl C 交叉工具鏈)。
- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -98,7 +98,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0

- name: Cache cargo
uses: Swatinem/rust-cache@v2
Expand Down Expand Up @@ -155,7 +155,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0
with:
targets: ${{ matrix.guest_target }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:
ref: ${{ needs.preflight.outputs.checkout_ref }}

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0
with:
targets: ${{ matrix.target }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v7

- name: Install Rust
uses: dtolnay/rust-toolchain@1.99.1
uses: dtolnay/rust-toolchain@1.120.0

# 以預編二進位安裝 cargo-audit(免現場編譯,數秒完成)
- name: Install cargo-audit
Expand Down
Loading