Merge pull request #322 from nix-community/flake-update #1290
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 on Darwin" | |
on: | |
# Build on push | |
push: | |
branches: | |
- master | |
# Build on internal pull requests | |
pull_request: | |
# Allow to trigger for external PRs | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3.6.0 | |
- uses: cachix/install-nix-action@v22 | |
- uses: cachix/cachix-action@v12 | |
with: | |
name: nix-community | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
extraPullNames: nix-community | |
- run: nix build .#default -L | |
- run: nix build .#neovim -L |