Skip to content

rust-toolchain: Update #162

rust-toolchain: Update

rust-toolchain: Update #162

Workflow file for this run

# Workflow, consisting of jobs that only need to be run,
# once `*nix`, or `flake.lock`, or `rust-toolchain.toml` files change
name: "nix develop"
on:
workflow_dispatch: # allows manual triggering
pull_request:
branches: [ release, development ]
paths:
- '**.nix'
- 'flake.lock'
- 'flake.nix'
- 'rust-toolchain.toml'
push:
branches: [ release, development ]
paths:
- '**.nix'
- 'flake.lock'
- 'flake.nix'
- 'rust-toolchain.toml'
merge_group:
jobs:
develop:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0 # Nix Flakes doesn't work on shallow clones
- uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: cachix/cachix-action@v15
with:
name: kenji
# If you chose API tokens for write access OR if you have a private cache
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- uses: DeterminateSystems/magic-nix-cache-action@v7
with:
diagnostic-endpoint: ""
- name: 'nix develop --command "echo hello"'
run: nix develop -Lvv
- name: "ldd version"
run: nix develop -Lvv --command ldd --version
- name: "lint shell ldd version"
run: nix develop .#lintShell -Lvv --command ldd --version