Skip to content

🌱 Bump k8s.io/apimachinery from 0.31.1 to 0.31.3 in /testdata/project-v4 #1030

🌱 Bump k8s.io/apimachinery from 0.31.1 to 0.31.3 in /testdata/project-v4

🌱 Bump k8s.io/apimachinery from 0.31.1 to 0.31.3 in /testdata/project-v4 #1030

name: Test DevContainer Image
on:
push:
paths-ignore:
- '**/*.md'
pull_request:
paths-ignore:
- '**/*.md'
jobs:
test-devcontainer:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Go 1.22.x
uses: actions/setup-go@v5
with:
go-version: "1.22.x"
- name: Setup NodeJS 20.x
uses: actions/setup-node@v4
with:
node-version: "20.x"
- name: Setup Devcontainer CLI
run: |
npm install -g @devcontainers/cli
- name: Build and Validate DevContainer
run: |
cd testdata/project-v4
OUTPUT=$(devcontainer up --workspace-folder=./)
STATUS=$(echo "$OUTPUT" | jq -r '.outcome')
if [[ "$STATUS" == "success" ]]; then
echo "Devcontainer setup was successful."
exit 0
else
echo "Devcontainer setup failed."
exit 1
fi