Skip to content

Commit

Permalink
Add a devcontainer CI workflow
Browse files Browse the repository at this point in the history
Ensures that the devcontainer builds when the configuration changes.

Signed-off-by: Oliver Gould <ver@buoyant.io>
  • Loading branch information
olix0r committed Jan 25, 2022
1 parent ed44e4e commit 2f29e64
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/devcontainer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Devcontainer

# When a pull request is opened that changes the Devcontainer configuration,
# ensure that the container continues to build properly.
on:
pull_request:
paths:
- .devcontainer/**
paths-ignore:
# The devcontainer.json isn't actually tested at the moment.
- .devcontainer/devcontainer.json

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: docker build .devcontainer

0 comments on commit 2f29e64

Please sign in to comment.