mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 16:57:55 +00:00
f7b4539c6d
Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 5 to 6. - [Release notes](https://github.com/determinatesystems/nix-installer-action/releases) - [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v5...v6) --- updated-dependencies: - dependency-name: DeterminateSystems/nix-installer-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
35 lines
1.2 KiB
YAML
35 lines
1.2 KiB
YAML
name: "Update flake inputs"
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: '0 0 * * 5' # Every week on Friday.
|
|
jobs:
|
|
update:
|
|
runs-on: ubuntu-latest
|
|
env:
|
|
NIXPKGS_ALLOW_BROKEN: "1"
|
|
NIXPKGS_ALLOW_UNFREE: "1"
|
|
NIXPKGS_ALLOW_INSECURE: "1"
|
|
permissions:
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: DeterminateSystems/nix-installer-action@v6
|
|
- name: Update flake inputs
|
|
run: |
|
|
nix flake update --commit-lock-file --commit-lockfile-summary "flake.lock: update inputs"
|
|
env:
|
|
GIT_AUTHOR_NAME: github-actions[bot]
|
|
GIT_AUTHOR_EMAIL: github-actions[bot]@users.noreply.github.com
|
|
GIT_COMMITTER_NAME: github-actions[bot]
|
|
GIT_COMMITTER_EMAIL: github-actions[bot]@users.noreply.github.com
|
|
- name: Build custom packages
|
|
run: nix build --dry-run --impure --file ./pkgs
|
|
- name: Build NixOS configurations
|
|
run: nix build --dry-run --impure .#images.x86_64-linux.{ni,plover,bootstrap}
|
|
- name: Push changes to remote
|
|
run: |
|
|
git remote remove origin
|
|
git remote add origin https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git
|
|
git push --set-upstream origin master
|