Skip to content

Commit

Permalink
feat(ci): ci for nix test and builds
Browse files Browse the repository at this point in the history
  • Loading branch information
pwnwriter committed Aug 14, 2024
1 parent 47eb443 commit 02c9929
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/build-app.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build the app

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

env:
CARGO_TERM_COLOR: always

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3

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

- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@main

- name: Build
run: nix build

- name: Run
run: nix run

0 comments on commit 02c9929

Please sign in to comment.