Skip to content

Commit

Permalink
Add workflow for nix flake check
Browse files Browse the repository at this point in the history
  • Loading branch information
ritiek committed Nov 25, 2024
1 parent e46c4cb commit f347e57
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/keys.yml → .github/workflows/validation.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
name: keys
name: validation
on:
pull_request:
push:
workflow_dispatch:

jobs:
key-validation:
keys:
runs-on: ubuntu-latest
steps:
- name: Install dependencies
Expand All @@ -24,3 +24,16 @@ jobs:
- name: Validate specified public keys
run: |
sops updatekeys -y $(find . -name secrets.yaml)
flake-check:
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: cachix/install-nix-action@v27
with:
extra_nix_config: "extra-platforms = aarch64-linux"
- name: Clone Repository
uses: actions/checkout@v4
- name: Nix flake check
run: |
nix flake check

0 comments on commit f347e57

Please sign in to comment.