Skip to content

use different github action #10

use different github action

use different github action #10

Workflow file for this run

name: Nix
on:
- push
jobs:
linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- run: nix develop
- run: nix flake check
- run: |
nix develop --command \
mix deps.get
- run: |
nix develop --command \
mix compile --warnings-as-errors
- run: |
nix develop --command \
mix test --trace
macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- run: nix develop
- run: nix flake check
- run: |
nix develop --command \
mix deps.get
- run: |
nix develop --command \
mix compile --warnings-as-errors
- run: |
nix develop --command \
mix test --trace