馃 my neovim config:)
1name: Build and populate cache
2
3on:
4 workflow_dispatch:
5 workflow_call:
6 inputs:
7 ref:
8 required: false
9 type: string
10
11permissions:
12 contents: read
13
14jobs:
15 build:
16 name: Build (${{ matrix.system }})
17 runs-on: ${{ matrix.os }}
18
19 strategy:
20 fail-fast: false
21 matrix:
22 include:
23 - os: ubuntu-latest
24 system: x86_64-linux
25 - os: macos-latest
26 system: aarch64-darwin
27 - os: ubuntu-24.04-arm
28 system: aarch64-linux
29
30 steps:
31 - name: Checkout
32 uses: actions/checkout@v5
33 with:
34 persist-credentials: false
35 ref: ${{ inputs.ref && inputs.ref || github.ref_name }}
36
37 - name: Install Nix
38 uses: DeterminateSystems/nix-installer-action@main
39
40 - name: Build
41 run: nix build -L