Skip to content

Commit

Permalink
ci(check): Check the library function
Browse files Browse the repository at this point in the history
  • Loading branch information
akirak committed Oct 21, 2023
1 parent 6d56269 commit 29b0ee6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Check

on:
workflow_dispatch:
pull_request:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- uses: cachix/install-nix-action@v23
with:
extra_nix_config: |
accept-flake-config = true
- name: Smoke-test the library function
run: nix develop -c just check-function
3 changes: 3 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,6 @@ update:
mkdir -p generated
rm -f generated/*.nix
install -m 644 $(nix build . --print-out-paths)/*.nix generated/

check-function:
nix eval .\#lib.builtinLibrariesOfEmacsVersion --apply 'f: f "29.1"'

0 comments on commit 29b0ee6

Please sign in to comment.