File tree Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Expand file tree Collapse file tree 2 files changed +17
-0
lines changed Original file line number Diff line number Diff line change 3
3
push :
4
4
branches :
5
5
- ' _update-deps/runtimeverification/scala-kore'
6
+ - ' _update-deps/runtimeverification/rv-nix-tools'
6
7
workflow_dispatch :
7
8
# Stop in progress workflows on the same branch and same workflow to use latest committed code
8
9
concurrency :
25
26
git config user.name devops
26
27
git config user.email [email protected]
27
28
29
+ - name : ' Install Nix'
30
+ uses : cachix/install-nix-action@v22
31
+ with :
32
+ install_url : https://releases.nixos.org/nix/nix-2.13.3/install
33
+ extra_nix_config : |
34
+ substituters = http://cache.nixos.org https://hydra.iohk.io
35
+ trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ=
36
+
28
37
- name : ' Update scala-kore release tag'
29
38
run : ./scripts/update-scala-kore.sh
30
39
40
+ - name : ' Update Nix flake inputs'
41
+ run : |
42
+ RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
43
+ sed -i 's! rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/[a-z0-9\.]*"! rv-nix-tools.url = "github:runtimeverification/rv-nix-tools/'"${RV_NIX_TOOLS_VERSION}"'"!' flake.nix
44
+ nix flake update
45
+ git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || true
46
+
31
47
- name : ' Push updates'
32
48
run : git push
Original file line number Diff line number Diff line change
1
+ 854d4f05ea78547d46e807b414faad64cea10ae4
You can’t perform that action at this time.
0 commit comments