Skip to content

ci: test build with nix #1

ci: test build with nix

ci: test build with nix #1

Workflow file for this run

---
name: "Test"
on:
pull_request:
push:
jobs:
tests:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: install Nix
uses: cachix/install-nix-action@v27
- name: test
run: |
nix develop --ignore-environment --keep MY_ENV_VAR --command '
echo $MY_ENV_VAR &&
echo "test-->test"'
env:
MY_ENV_VAR: foobar