Skip to content

Commit

Permalink
ci(github): add build to validate changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LGUG2Z committed Dec 5, 2023
1 parent 8ace2a6 commit 4ddb727
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'build'

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: ssh-keygen -t rsa -N '' -f ./id_rsa && git add id_rsa.pub
- run: nix build .#nixosConfigurations.nixos

0 comments on commit 4ddb727

Please # to comment.