Merge pull request #432 from r-k-b/dependabot/elm/elm-explorations/te… #559
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 with Nix & Cachix" | |
on: | |
pull_request: | |
push: | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
environment: someEnviro | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V27 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: r-k-b | |
# If you chose signing key for write access | |
#signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}' | |
# If you chose API tokens for write access OR if you have a private cache | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- name: Keep the Flake up-to-date and healthy | |
uses: DeterminateSystems/flake-checker-action@v8 | |
with: | |
fail-mode: true | |
- run: nix flake check | |
- run: nix build . | |
- run: nix shell --command echo "Computer says OK." |