Skip to content

build(nix): update dependencies #1965

build(nix): update dependencies

build(nix): update dependencies #1965

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