GitHub Actions
If you'd like to run devenv
as a workflow create .github/workflows/test.yml
:
name: "Test"
on:
pull_request:
push:
jobs:
tests:
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/[email protected]
- uses: cachix/[email protected]
- uses: cachix/[email protected]
with:
name: devenv
- name: Install devenv.sh
run: nix profile install github:cachix/devenv/latest
shell: sh
- run: devenv ci
- run: devenv shell echo ok