Skip to content
This repository was archived by the owner on Jul 23, 2024. It is now read-only.

Commit 8b230d1

Browse files
committed
Add dev container smoke test to CI
1 parent 13a0ecc commit 8b230d1

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

.github/workflows/devcontainer.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Dev Container CI
2+
3+
on:
4+
push:
5+
pull_request:
6+
7+
jobs:
8+
build:
9+
# pull requests are a duplicate of a branch push if within the same repo.
10+
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: true
14+
matrix:
15+
directory:
16+
- "."
17+
- "backend"
18+
steps:
19+
- name: Checkout
20+
uses: actions/checkout@v4.0.0
21+
22+
- name: Set up Docker Buildx
23+
uses: docker/setup-buildx-action@v3.0.0
24+
25+
- name: Build dev container
26+
uses: devcontainers/ci@v0.3.1900000329
27+
with:
28+
subFolder: ${{ matrix.directory }}

0 commit comments

Comments
 (0)