ci: add cc check before rust-toolchain
CI / check (push) Failing after 16s

This commit is contained in:
changchichung
2026-09-02 10:01:15 +08:00
parent 093dd5f1fd
commit e7dd69750d
+5
View File
@@ -11,6 +11,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
which cc || (sudo apt-get update && sudo apt-get install -y build-essential pkg-config)
cc --version
which rustup && rustup --version || echo "rustup not found"
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy, rustfmt