squash! feat: Add a function for building ELPA-compatible archives #33
Workflow file for this run
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: Unit tests | |
on: | |
push: | |
paths: | |
- 'flake.lock' | |
- 'pkgs/build-support/**' | |
workflow_dispatch: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- macos-latest | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: cachix/install-nix-action@V28 | |
with: | |
nix_path: nixpkgs=channel:nixos-unstable | |
- run: nix flake update | |
working-directory: pkgs/build-support/elisp | |
- name: Run unit tests | |
run: | | |
set -euo pipefail | |
nix-instantiate --strict --eval --json pkgs/build-support/**/test*.nix \ | |
| jq |