File tree Expand file tree Collapse file tree 7 files changed +84
-80
lines changed
Expand file tree Collapse file tree 7 files changed +84
-80
lines changed Original file line number Diff line number Diff line change 1515 - README.md
1616 - .github/**
1717 - " !.github/workflows/test-feature.yml"
18+ workflow_call :
19+
1820concurrency :
1921 group : ${{ github.workflow }}-${{ github.ref }}
2022 cancel-in-progress : true
2123jobs :
2224 test-feature :
23- strategy :
24- fail-fast : false
25- matrix :
26- include :
27- - image : mcr.microsoft.com/devcontainers/base:ubuntu
28- options : ' { "version": "1.30.0" }'
29- - image : debian:bookworm-slim
3025 runs-on : ubuntu-latest
3126 steps :
3227 - uses : actions/checkout@v3
3328 - run : npm install -g @devcontainers/cli
34- - run : bash test.sh "$IMAGE" "$OPTIONS"
35- env :
36- IMAGE : ${{ matrix.image }}
37- OPTIONS : ${{ matrix.options }}
29+ - run : devcontainer features test -f deno --skip-autogenerated
Original file line number Diff line number Diff line change 1- {
2- "name" : " Deno" ,
3- "id" : " deno" ,
4- "version" : " 1.2 .0" ,
5- "description" : " Installs Deno" ,
6- "options" : {
7- "version" : {
8- "type" : " string" ,
9- "proposals" : [
10- " latest" ,
11- " none" ,
12- " 1.41.0" ,
13- " 1.40.5" ,
14- " 1.39.4" ,
15- " 1.38.5" ,
16- " 1.37.2" ,
17- " 1.36.4" ,
18- " 1.35.3" ,
19- " 1.34.3" ,
20- " 1.33.4" ,
21- " 1.32.5" ,
22- " 1.31.3" ,
23- " 1.30.3" ,
24- " 1.29.4" ,
25- " 1.28.3" ,
26- " 1.27.2" ,
27- " 1.26.2" ,
28- " 1.25.4" ,
29- " 1.24.3"
30- ],
31- "default" : " latest" ,
32- "description" : " Select or enter a Deno version to install"
33- }
34- },
35- "customizations" : {
36- "vscode" : {
37- "settings" : {
38- "deno.enable" : true ,
39- "deno.lint" : true ,
40- "editor.defaultFormatter" : " denoland.vscode-deno"
41- },
42- "extensions" : [
43- " denoland.vscode-deno"
44- ]
45- }
46- }
47- }
1+ {
2+ "name" : " Deno" ,
3+ "id" : " deno" ,
4+ "version" : " 1.1 .0" ,
5+ "description" : " Installs Deno" ,
6+ "options" : {
7+ "version" : {
8+ "type" : " string" ,
9+ "proposals" : [
10+ " latest" ,
11+ " none" ,
12+ " 1.41.0" ,
13+ " 1.40.5" ,
14+ " 1.39.4" ,
15+ " 1.38.5" ,
16+ " 1.37.2" ,
17+ " 1.36.4" ,
18+ " 1.35.3" ,
19+ " 1.34.3" ,
20+ " 1.33.4" ,
21+ " 1.32.5" ,
22+ " 1.31.3" ,
23+ " 1.30.3" ,
24+ " 1.29.4" ,
25+ " 1.28.3" ,
26+ " 1.27.2" ,
27+ " 1.26.2" ,
28+ " 1.25.4" ,
29+ " 1.24.3"
30+ ],
31+ "default" : " latest" ,
32+ "description" : " Select or enter a Deno version to install"
33+ }
34+ },
35+ "customizations" : {
36+ "vscode" : {
37+ "settings" : {
38+ "deno.enable" : true ,
39+ "deno.lint" : true ,
40+ "editor.defaultFormatter" : " denoland.vscode-deno"
41+ },
42+ "extensions" : [
43+ " denoland.vscode-deno"
44+ ]
45+ }
46+ }
47+ }
File renamed without changes.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ {
2+ "test" : {
3+ "image" : " mcr.microsoft.com/devcontainers/base:debian" ,
4+ "features" : {
5+ "deno" : {}
6+ }
7+ },
8+ "specified_version" : {
9+ "image" : " mcr.microsoft.com/devcontainers/base:ubuntu" ,
10+ "features" : {
11+ "deno" : {
12+ "version" : " 1.30.3"
13+ }
14+ }
15+ }
16+ }
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ source dev-container-features-test-lib
6+
7+ check " deno version" deno --version | grep ' 1.30.3'
8+
9+ reportResults
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ set -e
4+
5+ source dev-container-features-test-lib
6+
7+ check " deno version" deno --version
8+
9+ reportResults
You can’t perform that action at this time.
0 commit comments