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 119bec0 commit cab5b48Copy full SHA for cab5b48
.github/workflows/check_guides.sh
@@ -1,4 +1,6 @@
1
-#!/bin/sh
+#!/bin/bash
2
+
3
+status=0
4
5
for value in legacy stable; do
6
if [ ! -e "$value/Cargo.toml" ]; then
@@ -11,7 +13,6 @@ for value in legacy stable; do
11
13
case "$value" in
12
14
legacy)
15
cat >> "$value/Cargo.toml" <<-EOF
- [dependencies]
16
futures = "0.3"
17
hyper = { version = "0.14", features = ["full"] }
18
hyper-tls = "0.5"
@@ -20,7 +21,6 @@ EOF
20
21
;;
22
stable)
23
24
hyper = { version = "1", features = ["full"] }
25
tokio = { version = "1", features = ["full"] }
26
http-body-util = "0.1"
@@ -43,7 +43,6 @@ EOF
43
exit $?
44
fi
45
46
- status=0
47
for f in $(git ls-files | grep "^_$value\/.*\.md$"); do
48
test_file "$f"
49
s=$?
0 commit comments