Skip to content

Commit d47a27c

Browse files
committed
Attempt to add a github action.
1 parent e71090b commit d47a27c

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/run-wasm.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Run WASM Script
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
9+
jobs:
10+
run-wasm:
11+
runs-on: ubuntu-latest
12+
container:
13+
image: nixos/nix:latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Enable flakes
18+
run: |
19+
mkdir -p ~/.config/nix
20+
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
21+
22+
- name: Run script in flake environment
23+
run: |
24+
nix develop --command bash ./run-wasm.sh

0 commit comments

Comments
 (0)