Skip to content

Commit

Permalink
Use different github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
akash-akya committed Jun 22, 2024
1 parent aebc20b commit 152a441
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
name: CI
name: Nix Test
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 }}
- 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
Expand All @@ -25,11 +24,10 @@ jobs:
runs-on: macos-11
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
- 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
Expand Down

0 comments on commit 152a441

Please sign in to comment.