Refactor modules #356

Merged
jalil merged 4 commits from push-wlplzqkzpztr into main 2025-03-16 19:22:30 +01:00
Showing only changes of commit 78327cd972 - Show all commits

View file

@ -3,22 +3,13 @@ on:
jobs: jobs:
check: check:
runs-on: nixos runs-on: nixos
strategy:
matrix:
check:
- nvimDev
- nvimHeadless
- nvimNoBundledBins
- nvimNoLsp
- nvimNoTSGrammars
- treefmt
steps: steps:
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
- name: Run checks - name: Run checks
run: | run: |
nix --version nix --version
# shellcheck disable=SC2016 nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \
nix build --print-build-logs '.#checks.x86_64-linux.${{ matrix.check }}' --flake ".#checks.$(nix eval --raw --impure --expr builtins.currentSystem)"
check-renovaterc: check-renovaterc:
runs-on: nixos runs-on: nixos
steps: steps:
@ -27,24 +18,25 @@ jobs:
run: | run: |
nix --version nix --version
nix shell nixpkgs#renovate --command renovate-config-validator nix shell nixpkgs#renovate --command renovate-config-validator
build: build-packages:
runs-on: nixos runs-on: nixos
needs: check needs: check
strategy:
matrix:
target:
- audiomenu
- docs
- jpassmenu
- nixosConfigurations.vm.config.system.build.toplevel
- nvim
steps: steps:
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4 - uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
- name: Build target - name: Build target
run: | run: |
nix --version nix --version
# shellcheck disable=SC2016 nix-fast-build --max-jobs 2 --no-nom --skip-cached --no-link \
nix build --print-build-logs '.#${{ matrix.target }}' --flake ".#packages.$(nix eval --raw --impure --expr builtins.currentSystem)"
build-vm:
runs-on: nixos
needs: build-packages
steps:
- uses: "https://git.salame.cl/actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683" # v4
- name: Build VM configuration
run: |
nix --version
nix build --print-build-logs '.#nixosConfigurations.vm.config.system.build.toplevel'
report-size: report-size:
runs-on: nixos runs-on: nixos
needs: build needs: build