Skip to content

Attempt to add a github action. #1

Attempt to add a github action.

Attempt to add a github action. #1

Workflow file for this run

name: Run WASM Script
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-wasm:
runs-on: ubuntu-latest
container:
image: nixos/nix:latest
steps:
- uses: actions/checkout@v4
- name: Enable flakes
run: |
mkdir -p ~/.config/nix
echo "experimental-features = nix-command flakes" >> ~/.config/nix/nix.conf
- name: Run script in flake environment
run: |
nix develop --command bash ./run-wasm.sh