aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/test-pr.yaml
diff options
context:
space:
mode:
authorJosh Spicer <joshspicer@github.com>2022-07-18 20:40:36 +0300
committerGitHub <noreply@github.com>2022-07-18 20:40:36 +0300
commit3042260fc17c80f838a837c90cc9b2371bfb6365 (patch)
tree634e90677e80e755b7e7b3d6d64bdcfcc75c44e6 /.github/workflows/test-pr.yaml
parentb0e2f6ac23afbdef657e4b4973c02ec35a30c7bd (diff)
remove hardcoded devcontainer-cli (#65)
remove hardcoded devcontainer-cli in favor of fetching latest from npm dynamically
Diffstat (limited to '.github/workflows/test-pr.yaml')
-rw-r--r--.github/workflows/test-pr.yaml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/test-pr.yaml b/.github/workflows/test-pr.yaml
index 46334d7..b558eac 100644
--- a/.github/workflows/test-pr.yaml
+++ b/.github/workflows/test-pr.yaml
@@ -55,5 +55,9 @@ jobs:
]
steps:
- uses: actions/checkout@v2
- - name: " Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
- run: npx --yes ./devcontainers-cli-0.7.0-jospicer01.tgz features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`
+
+ - name: "Install latest devcontainer CLI"
+ run: npm install -g @devcontainers/cli
+
+ - name: "Testing '${{ matrix.features }}' against '${{ matrix.baseImage }}'"
+ run: devcontainer features test -f ${{ matrix.features }} -i ${{ matrix.baseImage }} -c `pwd`