Skip to content

Commit 720f436

Browse files
keyclaude
andcommitted
Add CI workflow for devcontainer build verification
Builds the devcontainer image and smoke-tests all installed tools (sigrok-cli, yamllint, golangci-lint, gh, node, markdownlint-cli2). Only triggers on .devcontainer/** path changes. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent a1c9e92 commit 720f436

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed

.github/workflows/devcontainer.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: Devcontainer
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
paths:
8+
- ".devcontainer/**"
9+
pull_request:
10+
branches:
11+
- main
12+
paths:
13+
- ".devcontainer/**"
14+
types:
15+
- opened
16+
- synchronize
17+
- reopened
18+
19+
permissions:
20+
contents: read
21+
22+
jobs:
23+
build:
24+
runs-on: ubuntu-latest
25+
steps:
26+
- uses: actions/checkout@v4
27+
28+
- name: Build devcontainer
29+
uses: devcontainers/ci@v0.3
30+
with:
31+
runCmd: |
32+
sigrok-cli --version
33+
yamllint --version
34+
golangci-lint version
35+
gh --version
36+
node --version
37+
markdownlint-cli2 --version

0 commit comments

Comments
 (0)