fix: use rust-toolchain action
Some checks failed
Build / Build (push) Failing after 4s
Build / docker (push) Has been skipped

This commit is contained in:
파링 2026-01-05 23:11:48 +09:00
parent e3ced2cfe9
commit b0f162a3fc
Signed by: paring
SSH key fingerprint: SHA256:8uCHhCpn/gVOLEaTolmbub9kfM6XBxWkIWmHxUZoWWk

View file

@ -22,6 +22,11 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: github.com/dtolnay/rust-toolchain@nightly
id: rust-toolchain
with:
targets: x86_64-unknown-linux-musl
toolchain: minimal
- uses: actions/cache@v4
with:
path: |
@ -32,10 +37,6 @@ jobs:
~/.cargo/git/db/
target/
key: ${{ runner.os }}-rust-${{ hashFiles('**/Cargo.lock') }}
- name: Setup rust
run: |
rustup target add x86_64-unknown-linux-musl
rustup toolchain install nightly --profile minimal --target x86_64-unknown-linux-musl
- name: Build
run: cargo build --release --locked --target x86_64-unknown-linux-musl
- name: Strip