Skip to content

Commit

Permalink
+
Browse files Browse the repository at this point in the history
  • Loading branch information
oluceps committed Sep 12, 2024
1 parent e9aeef2 commit a07c118
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Evaluate Flake
on:
pull_request:
branches: ["*"]
push:
branches: ["main"]
jobs:
check:
name: format check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: flake check
run: |
nix flake check
shell: bash

test:
name: run tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main

- name: build vaultix cli
run: |
nix build .#
shell: bash

- name: get metadata
run: |
nix develop -c just test-metadata
shell: bash
4 changes: 4 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,10 @@
inputsFrom = [
pkgs.vaultix
];
buildInputs = with pkgs; [
just
nushell
];
};

pre-commit = {
Expand Down

0 comments on commit a07c118

Please sign in to comment.