Skip to content

[FEATURE]: Add write-rockspec command #108

[FEATURE]: Add write-rockspec command

[FEATURE]: Add write-rockspec command #108

Workflow file for this run

---
name: "Nix build"
on:
pull_request:
push:
branches: [ master ]
jobs:
build:
name: ${{ matrix.attribute }} / ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
attribute:
- .#devShells.x86_64-linux.default
- .#packages.x86_64-linux.rocks
- .#checks.x86_64-linux.pre-commit-check
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@v9
- uses: cachix/cachix-action@v14
with:
name: neorocks
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
# Some of the tests query luarocks.org. TODO: Get sandboxed tests working
- run: nix build "${{matrix.attribute}}"