Skip to content

Update NH

Update NH #15

Workflow file for this run

name: "Update NH"
on:
workflow_dispatch:
schedule:
- cron: "0 4 1 * *"
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Install nix
uses: cachix/install-nix-action@master
with:
install_url: https://nixos.org/nix/install
extra_nix_config: |
experimental-features = nix-command flakes
- uses: actions/checkout@v3
name: Checkout
- run: nix flake update
- run: nix profile install --inputs-from . nixpkgs#cargo nixpkgs#rustc
- run: |
cargo install cargo-bump
cargo bump
- run: cargo update
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
with:
token: '${{ secrets.PAT }}'
title: 'build: bump deps'
commit-message: |
Bump all deps
Co-authored-by: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
author: GitHub <noreply@github.com>
branch: update
branch-suffix: timestamp
delete-branch: true