name: Lint Emscripten
on:
workflow_call:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 with:
persist-credentials: false
- uses: DeterminateSystems/nix-installer-action@3138316df39ed29be04236d7ffc686fa525866aa with:
diagnostic-endpoint: ""
extra-conf: |
substituters = https://cache.nixos.org
experimental-features = nix-command flakes
- name: Lint all configurations
run: |
nix develop --ignore-environment --keep HOME ".#devShells.x86_64-linux.emscripten-lint" -c ./tools/lint-emscripten.sh