x10an14 e4fb6897bb
chore(nix/github): Make build name more concise
So as to not overflow UI elements on github.com/rust-lang/rustlings/actions

Co-authored-by: liv <shadows@with.al>
2023-09-04 14:03:18 +02:00

25 lines
535 B
YAML

name: Verify nix environment
on:
# On any push or PR
push:
pull_request:
jobs:
nix-dev-shell:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v25
- run: nix build --version
- run: nix build .#devShell
nix-build-and-run-rustlings:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: nixbuild/nix-quick-install-action@v25
- run: nix build --version
- name: Build & Run
run: nix run .#rustlings -- --help