Skip to content

fix(rs): do not remove vendor refs on Darwin #1962

fix(rs): do not remove vendor refs on Darwin

fix(rs): do not remove vendor refs on Darwin #1962

Workflow file for this run

name: templates
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
rust:
strategy:
matrix:
platform:
- host: macos-latest
- host: ubuntu-latest
runs-on: ${{ matrix.platform.host }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/install-nix
with:
cachixAuthToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: "Initialize and test"
run: |
cargo new ci
cd ci
cargo run
nix flake init -L --show-trace -t '..#templates.rust'
git add .
nix flake check -L --show-trace --override-input 'nixify' '..'
nix run -L --show-trace --override-input 'nixify' '..'
nix develop -L --show-trace --override-input 'nixify' '..' --ignore-environment -c cargo test