-
Notifications
You must be signed in to change notification settings - Fork 5
38 lines (31 loc) · 935 Bytes
/
dep_check.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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@v2
with:
submodules: recursive
- uses: cachix/install-nix-action@v15
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@v4
with:
add-paths: Cargo.toml
reviewers: yanganto
base: main
branch: dependency-update
title: "Dependency Update"
commit-message: "automated dependency update"