Skip to content

Commit

Permalink
Use nix based github action job for macos
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jun 22, 2024
1 parent 152a441 commit 484d0bb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 48 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/elixir.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
name: CI
on:
- push
- pull_request
env:
OTP_VERSION: "24.0"
Expand Down Expand Up @@ -90,15 +91,14 @@ jobs:
macos:
runs-on: macos-11
steps:
- uses: actions/checkout@v3
- name: Install Erlang & Elixir
run: |
brew install erlang elixir
mix local.hex --force
mix local.rebar --force
- run: mix deps.get
- run: mix compile --warnings-as-errors
- run: mix test --trace
- 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 develop --command mix deps.get
- run: nix develop --command mix compile --warnings-as-errors
- run: nix develop --command mix test --trace

windows:
runs-on: windows-2019
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/nix.yml

This file was deleted.

0 comments on commit 484d0bb

Please sign in to comment.