Skip to content

Commit ee95bfd

Browse files
committed
Add GitHub Actions extension and install act in devcontainer setup
1 parent e2c4c4c commit ee95bfd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.devcontainer/devcontainer.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"extensions": [
1515
"ms-azuretools.vscode-docker",
1616
"redhat.vscode-yaml",
17-
"ecmel.vscode-html-css"
17+
"ecmel.vscode-html-css",
18+
"github.vscode-github-actions"
1819
]
1920
}
2021
},

.devcontainer/on-create.sh

+5
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,8 @@ git config pull.rebase true
2323

2424
# Create config from template
2525
cat .devcontainer/odoo.cfg.tmpl | envsubst > odoo.cfg
26+
27+
# Install act
28+
curl --proto '=https' --tlsv1.2 -sSf https://raw.githubusercontent.com/nektos/act/master/install.sh | bash
29+
mv ./bin/act /usr/local/bin/act
30+
rm -r ./bin/

0 commit comments

Comments
 (0)