repository template for Rust projects

ci: fix spindle CI workflows

authored by samanthanguyen.me and committed by tangled.org 1848a75a 1fdf4fb1

+16 -22
+8 -10
.tangled/workflows/build.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 - - cargo 10 - - rustup 8 + nixpkgs: 9 + - cargo 10 + - rustup 11 11 12 12 steps: 13 - - name: Checkout repository 14 - uses: actions/checkout@v6 15 13 - name: Setup Rust 16 - run: | 14 + command: | 17 15 rustup set profile minimal 18 16 rustup toolchain install stable 19 17 rustup override set stable 20 18 - name: Print environment info 21 - run: | 19 + command: | 22 20 cargo --version 23 21 rustup --version 24 22 - name: Build 25 - run: cargo build --verbose --all-features 23 + command: cargo build --verbose --all-features
+2 -3
.tangled/workflows/codeqa-clippy.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs:
+2 -3
.tangled/workflows/codeqa-rustfmt.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs:
+2 -3
.tangled/workflows/test-miri.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs:
+2 -3
.tangled/workflows/test.yml
··· 1 1 when: 2 - - event: ["pull_request"] 2 + - event: ["push", "pull_request"] 3 3 branch: ["main"] 4 4 5 - engine: 6 - - nixery 5 + engine: "nixery" 7 6 8 7 dependencies: 9 8 nixpkgs: