File tree Expand file tree Collapse file tree 2 files changed +47
-1
lines changed
Expand file tree Collapse file tree 2 files changed +47
-1
lines changed Original file line number Diff line number Diff line change 4545 with :
4646 name : devenv
4747 - name : Install devenv.sh
48- run : nix profile install nixpkgs#devenv
48+ run : nix profile add nixpkgs#devenv
4949
5050 - name : Build the devenv shell and run any pre-commit hooks
5151 run : devenv test
Original file line number Diff line number Diff line change 1+ name : Update Nix Dependencies
2+ on :
3+ workflow_dispatch :
4+ # push:
5+ # branches: [ ci ] # for testing
6+ schedule :
7+ - cron : ' 0 0 * * 1' # Monday morning at 00:00 UTC
8+
9+ permissions :
10+ contents : write
11+ pull-requests : write
12+
13+ jobs :
14+ update-nix :
15+ runs-on : ubuntu-latest
16+ steps :
17+ - name : Checkout repository
18+ uses : actions/checkout@v4
19+ with :
20+ token : ${{ secrets.GITHUB_TOKEN }}
21+
22+ - name : Install Nix
23+ uses : DeterminateSystems/nix-installer-action@main
24+
25+ - uses : cachix/cachix-action@3ba601ff5bbb07c7220846facfa2cd81eeee15a1 # v16
26+ with :
27+ name : devenv
28+ - name : Install devenv.sh
29+ run : nix profile add nixpkgs#devenv
30+
31+ - name : Update tools/memcached_benchmark/devenv.lock
32+ run : |
33+ cd tools/memcached_benchmark
34+ devenv update
35+
36+ - name : Update root flake.lock
37+ uses : DeterminateSystems/update-flake-lock@main
38+ with :
39+ pr-title : " nix-flake: update nix dependencies"
40+ pr-labels : |
41+ dependencies
42+ nix
43+ pr-body : |
44+ Automated update of Nix dependencies:
45+ - Root `flake.lock` updated
46+ - `tools/memcached_benchmark/devenv.lock` updated
You can’t perform that action at this time.
0 commit comments