88 outputs :
99 templates : ${{ steps.filter.outputs.changes }}
1010 steps :
11- - uses : dorny/paths-filter@v3
11+ - uses : dorny/paths-filter@v2
1212 id : filter
1313 with :
1414 filters : |
5858 matrix :
5959 templates : ${{ fromJSON(needs.detect-changes.outputs.templates) }}
6060 steps :
61- - uses : actions/checkout@v4
61+ - uses : actions/checkout@v2
6262
6363 - name : " Install latest devcontainer CLI"
6464 run : npm install -g @devcontainers/cli
7474 # Configure templates only if `devcontainer-template.json` contains the `options` property.
7575 optionProp=( $(jq -r '.options' devcontainer-template.json) )
7676
77- if [ "${optionProp}" != "" ] && [ "${optionProp}" != "null" ] ; then
77+ if [ "${optionProp}" != "" ] && [ "${optionProp}" != "null" ] ; then
7878 options=( $(jq -r '.options | keys[]' devcontainer-template.json) )
7979
8080 if [ "${options[0]}" != "" ] && [ "${options[0]}" != "null" ] ; then
@@ -101,7 +101,7 @@ jobs:
101101 template_id="${{ matrix.templates }}"
102102 src_dir="test/${template_id}"
103103
104- if [ ! -d "$(pwd)/${src_dir}" ] ; then
104+ if [ ! -d "$(pwd)/${src_dir}" ] ; then
105105 echo "Template '${{ matrix.templates }}' is missing a test folder"
106106 exit 1
107107 fi
@@ -119,11 +119,11 @@ jobs:
119119 # Fake out existence of extensions, VS Code Server to validate extensions
120120 echo "(*) Stubbing out extensions and VS Code Server..."
121121
122- # Configuring path for 'devcontainer.json'
122+ # Configuring path for 'devcontainer.json'
123123 dev_container_relative_path="src/${template_id}"
124124 dev_container_json_name=".devcontainer.json"
125125
126- if [ -d "$(pwd)/${dev_container_relative_path}/.devcontainer" ] ; then
126+ if [ -d "$(pwd)/${dev_container_relative_path}/.devcontainer" ] ; then
127127 dev_container_relative_path="${dev_container_relative_path}/.devcontainer"
128128 dev_container_json_name="devcontainer.json"
129129 fi
@@ -136,7 +136,7 @@ jobs:
136136 # Fetching extensions list defined in 'devcontainer.json'
137137 extensions="$(jq '.extensions' --compact-output "${dev_container_tmp}" | tr -d '[' | tr -d ']' | tr ',' '\n' 2>/dev/null || echo -n '')"
138138
139- # Stubbing extensions list for the tests validation with checkExtension()
139+ # Stubbing extensions list for the tests validation with checkExtension()
140140 devcontainer exec --workspace-folder "src/${template_id}/" --id-label ${id_label} /bin/sh -c "\
141141 mkdir -p \$HOME/.vscode-server/bin \$HOME/.vscode-server/extensions \
142142 && cd \$HOME/.vscode-server/extensions \
0 commit comments