We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c8b34 commit 659b674Copy full SHA for 659b674
.github/workflows/update-subtree.yml
@@ -16,15 +16,18 @@ jobs:
16
steps:
17
- name: Checkout Repository
18
uses: actions/checkout@v4
19
+ with:
20
+ fetch-depth: 0
21
+
22
+ - name: Checkout Kani
23
+ uses: actions/checkout@v4
24
25
+ repository: model-checking/kani
26
+ path: kani-tmp
27
28
- name: Fetch Kani toolchain version
29
run: |
- mkdir kani-tmp
30
cd kani-tmp
- git init
- git remote add origin https://github.com/model-checking/kani
- git fetch --depth 1 origin main
- git checkout main
31
TOOLCHAIN_DATE=$(grep -oP 'channel = "nightly-\K\d{4}-\d{2}-\d{2}' rust-toolchain.toml)
32
COMMIT_HASH=$(curl https://static.rust-lang.org/dist/$TOOLCHAIN_DATE/channel-rust-nightly-git-commit-hash.txt)
33
if [ -z "$COMMIT_HASH" ]; then
0 commit comments