Skip to content

Commit

Permalink
Add Github Actions based on nix
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-ramazanov committed Jun 28, 2024
1 parent 3718e90 commit 65dd6f4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ci

on: push

concurrency:
group: ${{ github.ref }}_ci
cancel-in-progress: true

jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- name: Build binaries
run: nix develop --command sbt nativeLink

2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@
inputs.systems.follows = "systems";
};

nixpkgs.url = "github:NixOS/nixpkgs-unstable";

sn-bindgen = {
url = "github:igor-ramazanov/sn-bindgen/update-flake";
inputs = {
Expand Down

0 comments on commit 65dd6f4

Please sign in to comment.