Give all exercises same directory structure #760
Workflow file for this run
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: Generator | |
on: | |
- push | |
- pull_request | |
jobs: | |
generator: | |
env: | |
TS_MAX_DELTA: 3 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- run: bin/fetch-configlet | |
- run: bin/configlet sync || true | |
- name: Set up perl | |
uses: shogo82148/actions-setup-perl@v1 | |
- run: carton install | |
- run: cpm install App::Yath | |
- run: carton exec -- yath start | |
- name: Test generator | |
run: carton exec -- yath run t/generator | |
- name: Generated files match generator output | |
run: carton exec -- yath run t/files |