mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-23 23:05:19 +00:00
22 lines
545 B
YAML
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
|