Jalil David Salamé Messina
3108457650
All checks were successful
/ check (push) Successful in 24s
/ build (audiomenu) (push) Successful in 2s
/ build (docs) (push) Successful in 2s
/ build (jpassmenu) (push) Successful in 2s
/ build (nixosConfigurations.vm.config.system.build.toplevel) (push) Successful in 2s
/ build (nvim) (push) Successful in 12s
/ update-lockfile (push) Has been skipped
Otherwise the push fails
42 lines
1.3 KiB
YAML
42 lines
1.3 KiB
YAML
on:
|
|
push:
|
|
schedule:
|
|
- cron: '12 5 * * *'
|
|
jobs:
|
|
check:
|
|
runs-on: nixos
|
|
if: github.event_name != 'schedule'
|
|
steps:
|
|
- uses: "https://code.forgejo.org/actions/checkout@v4"
|
|
- run: nix --version
|
|
- run: nix flake check --keep-going --verbose
|
|
build:
|
|
runs-on: nixos
|
|
if: github.event_name != 'schedule'
|
|
strategy:
|
|
matrix:
|
|
target:
|
|
- audiomenu
|
|
- docs
|
|
- jpassmenu
|
|
- nixosConfigurations.vm.config.system.build.toplevel
|
|
- nvim
|
|
steps:
|
|
- uses: "https://code.forgejo.org/actions/checkout@v4"
|
|
- run: nix --version
|
|
- run: nix build --print-build-logs '.#${{ matrix.target }}'
|
|
update-lockfile:
|
|
needs: [check build]
|
|
runs-on: nixos
|
|
if: github.event_name == 'schedule'
|
|
steps:
|
|
- uses: "https://code.forgejo.org/actions/checkout@v4"
|
|
- run: nix --version
|
|
- name: nix flake update
|
|
run: |
|
|
git config user.name 'forgejo-actions'
|
|
git config user.email 'forgejo-actions@noreply.salame.cl'
|
|
git switch --force-create update-lockfile
|
|
nix flake update --commit-lock-file --option commit-lockfile-summary '[chore] flake.lock: update inputs'
|
|
nix flake check --keep-going --verbose
|
|
git push --set-upstream origin update-lockfile
|