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 4ed40d7
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 7 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

16 changes: 9 additions & 7 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

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";

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

0 comments on commit 4ed40d7

Please sign in to comment.