Install nix directly on ci #4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build and test | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install Nix | |
uses: cachix/install-nix-action@v26 | |
- name: Install Cachix | |
uses: cachix/cachix-action@v14 | |
with: | |
name: devenv | |
- name: Build devcontainer image | |
run: devenv shell && devenv test | |
# - name: Build devcontainer image | |
# uses: devcontainers/[email protected] | |
# with: | |
# runCmd: devenv test |