File tree Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Expand file tree Collapse file tree 2 files changed +4
-12
lines changed Original file line number Diff line number Diff line change 87
87
uses : actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0
88
88
89
89
- name : Run shellcheck
90
- uses : ludeeus/action-shellcheck@master
90
+ uses : ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0
91
91
env :
92
92
SHELLCHECK_OPTS : -x -s bash -e SC2001 --norc
93
93
Original file line number Diff line number Diff line change @@ -37,14 +37,9 @@ command -v curl >/dev/null 2>&1 || {
37
37
exit 1
38
38
}
39
39
40
- # Check if configlet is already fetched
41
- if [ -e bin/configlet ]; then
42
- message " success" " Configlet found!"
43
- else
44
- message " info" " Fetching configlet"
45
- bin/fetch-configlet
46
- message " success" " Fetched configlet successfully!"
47
- fi
40
+ # Build configlet
41
+ bin/fetch-configlet
42
+ message " success" " Fetched configlet successfully!"
48
43
49
44
# Check if exercise exists in configlet info or in config.json
50
45
check_exercise_existence " $1 "
@@ -80,9 +75,6 @@ create_rust_files "$exercise_dir" "$slug" "$has_canonical_data"
80
75
81
76
# ==================================================
82
77
83
- # Build configlet
84
- ./bin/fetch-configlet
85
- message " success" " Fetched configlet successfully!"
86
78
87
79
# Preparing config.json
88
80
message " info" " Adding instructions and configuration files..."
You can’t perform that action at this time.
0 commit comments