Skip to content

Commit f7f1cfc

Browse files
committed
adapt update-version.yml workflow for rv-nix-tools
1 parent a377a49 commit f7f1cfc

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/update-deps.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- '_update-deps/runtimeverification/llvm-backend'
66
- '_update-deps/runtimeverification/haskell-backend'
7+
- '_update-deps/runtimeverification/rv-nix-tools'
78
workflow_dispatch:
89
# Stop in progress workflows on the same branch and same workflow to use latest committed code
910
concurrency:
@@ -64,6 +65,12 @@ jobs:
6465
changed=true
6566
fi
6667
68+
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
69+
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
70+
if git add flake.nix && git commit -m "flake.nix, rv-nix-tools: update to revision ${RV_NIX_TOOLS_VERSIONs}"; then
71+
changed=true
72+
fi
73+
6774
nix flake update
6875
if git add flake.lock && git commit -m 'flake.lock: update'; then
6976
changed=true

deps/rv-nix-tools

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
854d4f05ea78547d46e807b414faad64cea10ae4

0 commit comments

Comments
 (0)