name: Build and test

on:
  push:
    branches:
    - master

jobs:
  build:
    name: Build and test
    runs-on: ubuntu-latest
    steps:
    - name: Checkout 🛎️
      uses: actions/checkout@v2
    - name: Install Nix ❄️
      uses: cachix/install-nix-action@v12
    - name: Install and setup Cachix 💽
      uses: cachix/cachix-action@v8
      with:
        name: halma
        authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
    - name: Build and test
      run: nix-build project.nix

Add GitHub Action building project using Nix
Add GitHub Action building project using Nix
