File tree Expand file tree Collapse file tree 2 files changed +13
-2
lines changed
test-fuzz/tests/integration Expand file tree Collapse file tree 2 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -129,6 +129,7 @@ jobs:
129
129
cargo install cargo-supply-chain || true
130
130
cargo install cargo-unmaintained || true
131
131
cargo install group-runner || true
132
+ go install github.com/rhysd/actionlint/cmd/actionlint@latest
132
133
133
134
- name : Free up space
134
135
run : |
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ use regex::Regex;
3
3
use similar_asserts:: SimpleDiff ;
4
4
use std:: {
5
5
collections:: HashSet ,
6
- env:: var ,
6
+ env,
7
7
ffi:: OsStr ,
8
8
fs:: { read_to_string, write} ,
9
9
path:: Path ,
@@ -232,7 +232,17 @@ fn unmaintained() {
232
232
. success ( ) ;
233
233
}
234
234
235
+ #[ test]
236
+ fn actionlint ( ) {
237
+ #[ allow( deprecated) ]
238
+ let home = env:: home_dir ( ) . unwrap ( ) ;
239
+ Command :: new ( home. join ( "go/bin/actionlint" ) )
240
+ . env ( "SHELLCHECK_OPTS" , "--exclude=SC2002" )
241
+ . logged_assert ( )
242
+ . success ( ) ;
243
+ }
244
+
235
245
#[ must_use]
236
246
pub fn enabled ( key : & str ) -> bool {
237
- var ( key) . is_ok_and ( |value| value != "0" )
247
+ env :: var ( key) . is_ok_and ( |value| value != "0" )
238
248
}
You can’t perform that action at this time.
0 commit comments