Files
onefuzz/.github/workflows/validate-devcontainer.yml
2023-06-08 08:53:51 -04:00

22 lines
545 B
YAML

name: Validate Devcontainer configuration
on:
# run on PRs to main branch, if any
# devcontainer files have changed
pull_request:
branches:
- main
paths:
- .devcontainer/**
jobs:
use-devcontainer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# note that all we do here is ensure the devcontainer can
# setup and run one command, ensuring that it works
- name: Build and use devcontainer
uses: devcontainers/ci@v0.3
with:
runCmd: cargo --version