Skip to content

Commit

Permalink
Merge branch 'main' into 30-24-09-format
Browse files Browse the repository at this point in the history
  • Loading branch information
hardingjam committed Sep 30, 2024
2 parents 9d123b3 + 94f55fc commit 43fb3c4
Show file tree
Hide file tree
Showing 7 changed files with 466 additions and 3 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Rainix CI
on: [push]

concurrency:
group: ${{ github.ref }}-rainix
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
standard-tests:
strategy:
matrix:
os: [ubuntu-latest]
task: [rainframe-test]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2
- name: Run ${{ matrix.task }}
run: nix develop -c ${{ matrix.task }}
26 changes: 23 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,29 @@

outputs = { self, flake-utils, rainix }:
flake-utils.lib.eachDefaultSystem (system:
{
packages = rainix.packages.${system};
devShells = rainix.devShells.${system};
let
pkgs = rainix.pkgs.${system};
in rec {
packages = rec {
rainframe-test = rainix.mkTask.${system} {
name = "rainframe-test";
body = ''
set -euxo pipefail
npm i
'';
};

} // rainix.packages.${system};

devShells.default = pkgs.mkShell {
packages = [
packages.rainframe-test
];

shellHook = rainix.devShells.${system}.default.shellHook;
buildInputs = rainix.devShells.${system}.default.buildInputs;
nativeBuildInputs = rainix.devShells.${system}.default.nativeBuildInputs;
};
}
);
}
48 changes: 48 additions & 0 deletions public/_images/arbitrum-arb-logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 43fb3c4

Please sign in to comment.