Skip to content

Dependency Check

Dependency Check #146

Workflow file for this run

name: Dependency Check
concurrency:
group: rust-dependency-check-${{ github.head_ref }}
cancel-in-progress: true
on:
schedule:
- cron: '0 0 * * *'
jobs:
update_dependency:
name: Check dependency
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- uses: cachix/install-nix-action@v27
with:
nix_path: nixpkgs=channel:nixos-unstable
- name: Update dependency
id: update-dependency
run: nix develop -c 'update-dependency'
- name: Create Pull Request
if: failure() && steps.update-dependency.outcome != 'success'
uses: peter-evans/create-pull-request@v7
with:
add-paths: Cargo.toml
reviewers: yanganto
base: main
branch: dependency-update
title: "Dependency Update"
commit-message: "automated dependency update"