Skip to content

Commit fc7bdf5

Browse files
committed
adapt update-version.yml workflow for rv-nix-tools
1 parent 54f4755 commit fc7bdf5

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/update-version.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
branches:
55
- '_update-deps/runtimeverification/blockchain-k-plugin'
66
- '_update-deps/runtimeverification/k'
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:
@@ -52,8 +53,10 @@ jobs:
5253
run: |
5354
K_VERSION=v$(cat deps/k_release)
5455
BKP_VERSION=$(cat deps/blockchain-k-plugin_release)
56+
RV_NIX_TOOLS_VERSION=$(cat deps/rv-nix-tools)
5557
sed -i 's! k-framework.url = "github:runtimeverification/k/[v0-9\.]*"! k-framework.url = "github:runtimeverification/k/'"${K_VERSION}"'"!' flake.nix
5658
sed -i 's! "github:runtimeverification/blockchain-k-plugin/[0-9a-f]*"! "github:runtimeverification/blockchain-k-plugin/'"${BKP_VERSION}"'"!' flake.nix
59+
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
5760
nix run .#update-from-submodules
5861
nix flake update
5962
git add flake.nix flake.lock && git commit -m 'flake.{nix,lock}: update Nix derivations' || 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)