From 875168741f17e812451664c79dfabc35d0d1f61e Mon Sep 17 00:00:00 2001 From: akash-akya Date: Sat, 22 Jun 2024 22:39:25 +0530 Subject: [PATCH] debug --- .github/workflows/elixir.yml | 1 - .github/workflows/nix.yml | 29 +++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/nix.yml diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml index 687be99..1b3dbc5 100644 --- a/.github/workflows/elixir.yml +++ b/.github/workflows/elixir.yml @@ -1,6 +1,5 @@ name: CI on: - - push - pull_request env: OTP_VERSION: "24.0" diff --git a/.github/workflows/nix.yml b/.github/workflows/nix.yml new file mode 100644 index 0000000..59fbd1f --- /dev/null +++ b/.github/workflows/nix.yml @@ -0,0 +1,29 @@ +name: CI +on: + - push +jobs: + linux: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: nix develop + - run: nix flake check + - run: mix deps.get + - run: mix compile --warnings-as-errors + - run: mix test --trace + + macos: + runs-on: macos-11 + steps: + - uses: actions/checkout@v4 + - uses: cachix/install-nix-action@v27 + with: + github_access_token: ${{ secrets.GITHUB_TOKEN }} + - run: nix develop + - run: nix flake check + - run: mix deps.get + - run: mix compile --warnings-as-errors + - run: mix test --trace