Skip to content

cli: Fix reported file name #352

cli: Fix reported file name

cli: Fix reported file name #352

Workflow file for this run

name: "test"
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.3
- uses: DeterminateSystems/nix-installer-action@v10
- name: Build
run: nix-build
- name: Cargo Build Lib
run: nix-shell --run "cargo build --lib"
- name: Cargo Build CLI
run: nix-shell --run "cargo build --bin npins --features=clap,crossterm,env_logger"
- name: Run pre-commit hooks
run: nix-shell --run "pre-commit run --all"
- name: Cargo test
run: nix-shell --run "cargo test --all"
- name: Test dev shell
# Simple check that the pins in the current repository are still working.
# Importantly, this will fail on any version mismatch, indicating that versions need to be upgraded.
run: nix-shell --run "npins show"
- name: Run smoke test
run: nix-shell --run "bash ./.github/workflows/smoke-test.sh"
- name: Run integration tests
run: nix-build -A meta.tests