mirror of
https://github.com/HendrikRauh/dmx-interface.git
synced 2026-03-09 13:30:20 +00:00
add(action): create composite action to install Nix with flakes enabled
This commit is contained in:
parent
7a621d4731
commit
c362172cdb
2 changed files with 23 additions and 16 deletions
20
.github/workflows/check.yml
vendored
20
.github/workflows/check.yml
vendored
|
|
@ -11,14 +11,8 @@ jobs:
|
|||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Setup checkout + Nix
|
||||
uses: ./.github/actions/install-nix
|
||||
|
||||
- name: Run pre-commit from flake devShell
|
||||
run: |
|
||||
|
|
@ -29,14 +23,8 @@ jobs:
|
|||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v31
|
||||
with:
|
||||
extra_nix_config: |
|
||||
experimental-features = nix-command flakes
|
||||
- name: Setup checkout + Nix
|
||||
uses: ./.github/actions/install-nix
|
||||
|
||||
- name: Run build from flake devShell
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue