adopt for newer compilers #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Documentation Snippets | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
# allow this workflow to be triggered manually | |
jobs: | |
run_md: | |
name: 'Execute inline D snippets from docs markdown files' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code and submodules | |
uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Set up D compiler / tools | |
uses: dlang-community/[email protected] | |
with: | |
compiler: dmd-latest | |
- name: Fetch 'md' tool | |
run: dub fetch [email protected] | |
- name: Test custom-formats.md | |
run: dub run md -- docs-src/custom-formats.md |