Skip to content

Update NH

Update NH #19

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: DeterminateSystems/nix-installer-action@main
- 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
name: Bump version
- 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 <[email protected]>
branch: update
branch-suffix: timestamp
delete-branch: true