Skip to content

Merge pull request #84 from akirak/elixir-app #6

Merge pull request #84 from akirak/elixir-app

Merge pull request #84 from akirak/elixir-app #6

name: Check elixir-app
on:
push:
paths:
# Set this to the directory of the template
- elixir-app/**
- .github/workflows/check-elixir-app.yml
workflow_dispatch:
workflow_call:
concurrency:
group: check-elixir-app-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@V27
with:
extra_nix_config: |
access-tokens = github.com=${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@v4
with:
path: ./tmp
- run: nix flake new -t ./tmp#elixir-app ./work
- name: Prepare the project
working-directory: work
run: |
git init
git add .
- name: Check executables
working-directory: work
run: |
nix develop -L --command mix help
nix develop -L --command elixirc --version