Skip to content

Commit

Permalink
ci: Test by shell nix (#7)
Browse files Browse the repository at this point in the history
* chore: Init shell.nix

* ci: Init ver-1-42-0-checker
  • Loading branch information
haruki7049 authored Jun 28, 2024
1 parent 4d5b27f commit 2a0a263
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ver-1-42-0-checker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: ver-1-42-0-checker
on:
push:
permissions: {}
jobs:
run-nix-shell:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v26
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Run nix-shell
run: nix-shell
14 changes: 14 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{ pkgs ? import <nixpkgs> {
inherit overlays;
}
, overlays ? [
(import ./default.nix)
]
, mkShell ? pkgs.mkShell
}:

mkShell {
packages = [
pkgs.deno."1.42.0"
];
}

0 comments on commit 2a0a263

Please sign in to comment.