chore: update flake.lock #1581
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Nix build" | |
on: | |
pull_request: | |
push: | |
jobs: | |
checks: | |
runs-on: ubuntu-latest | |
name: Nix checks | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: neorocks | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix flake check -L | |
build: | |
name: ${{ matrix.attribute }} / ${{ matrix.os }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- ubuntu-latest | |
attribute: | |
- .#neovim-nightly | |
- .#busted-nlua | |
- .#devShells.x86_64-linux.default | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@v30 | |
- uses: cachix/cachix-action@v15 | |
with: | |
name: neorocks | |
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
- run: nix build --accept-flake-config "${{matrix.attribute}}" -L | |
# tests: | |
# runs-on: ubuntu-latest | |
# name: Integration test | |
# steps: | |
# - name: Checkout | |
# uses: actions/checkout@v4 | |
# - uses: cachix/install-nix-action@v30 | |
# - uses: cachix/cachix-action@v15 | |
# with: | |
# name: neorocks | |
# authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}' | |
# - name: Run integration tests | |
# run: | | |
# nix profile install --accept-flake-config ".#neorocks" | |
# cd testproject | |
# echo "init for stable" | |
# luarocks --local init | |
# echo "config for stable" | |
# luarocks config --scope project lua_interpreter neolua | |
# echo "running tests for stable" | |
# luarocks test | |
# rm -r lua_modules/ .luarocks/ luarocks | |
# echo "init for nightly" | |
# luarocks --local init | |
# echo "config for nightly" | |
# luarocks config --scope project lua_interpreter neolua-nightly | |
# echo "running tests for nightly" | |
# luarocks test | |
# shell: bash |