Skip to content

update

update #150

Workflow file for this run

name: update
on:
workflow_dispatch:
schedule:
- cron: 0 19 * * *
jobs:
nix-update:
name: Update lockfile
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- uses: actions/checkout@v4
- name: Run nvfetcher
run: |
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
nix run nixpkgs#nvfetcher
- name: Run flake update
run: nix flake update
- name: Run fmt
run: nix fmt
- name: Commit changes
run: |
git config --global user.email "[email protected]"
git config --global user.name "GitHub Actions"
git add .
git commit -m "Update lockfiles"
git push origin HEAD