File tree Expand file tree Collapse file tree 3 files changed +21
-8
lines changed
Expand file tree Collapse file tree 3 files changed +21
-8
lines changed Original file line number Diff line number Diff line change 44 pull_request : # yamllint disable-line rule:empty-values
55
66jobs :
7- validate-new -changes :
7+ validate-yaml -changes :
88 runs-on : " ubuntu-latest"
9- # NOTE: validating new changes takes around 1 minute.
9+ # NOTE: validating YAML changes takes around 1 minute.
1010 # If this job takes more than 5 minutes, it means that something is wrong.
1111 timeout-minutes : 5
1212 steps :
1313 - name : " Checkout ${{ github.event.repository.name }}"
1414 uses : " actions/checkout@v4"
1515 - name : " Run YAML linter"
1616 run : " docker run --rm -v ${{ github.workspace }}:/linter_workdir/repo spawnlang/yaml-linter:latest"
17+
18+ validate-markdown-changes :
19+ runs-on : " ubuntu-latest"
20+ # NOTE: validating Markdown changes takes around 1 minute.
21+ # If this job takes more than 5 minutes, it means that something is wrong.
22+ timeout-minutes : 5
23+ steps :
24+ - name : " Checkout ${{ github.event.repository.name }}"
25+ uses : " actions/checkout@v4"
26+ - name : " Run Markdown linter"
27+ run : " docker run --rm -v ${{ github.workspace }}:/linter_workdir/repo spawnlang/markdown-linter:latest"
Original file line number Diff line number Diff line change @@ -12,10 +12,10 @@ run, edit and share Spawn code online.
1212- Ability to [ run code as tests] ( https://docs.spawnlang.dev/tools/playground.html#test )
1313- Ability to [ see generated C code] ( https://docs.spawnlang.dev/tools/playground.html#show-generated-c-code )
1414 for passed Spawn code
15- - Pass [ flags] ( https://docs.spawnlang.dev/tools/playground.html#pass-arguments-to-compiler ) to Spawn
16- compiler and binary
17- - [ Shareable] ( https://docs.spawnlang.dev/tools/playground.html#share-code ) code and editor state
18- via URL or local storage
15+ - Pass [ flags] ( https://docs.spawnlang.dev/tools/playground.html#pass-arguments-to-compiler )
16+ to Spawn compiler and binary
17+ - [ Shareable] ( https://docs.spawnlang.dev/tools/playground.html#share-code ) code
18+ and editor state via URL or local storage
1919
2020## Developing
2121
@@ -52,7 +52,8 @@ then access the playground at <http://localhost:5555>
5252
5353## Server API
5454
55- See [ server/README.md] ( ./server/README.md ) for more information about the server API.
55+ See [ server/README.md] ( ./server/README.md ) for more information about the server
56+ API.
5657
5758## License
5859
Original file line number Diff line number Diff line change @@ -56,7 +56,8 @@ Additional form fields:
5656#### Request
5757
5858``` curl
59- curl -X POST localhost:5555/run_test -F 'code="fn test_foo() { assert 100 == 100 }"'
59+ curl -X POST localhost:5555/run_test \
60+ -F 'code="fn test_foo() { assert 100 == 100 }"'
6061```
6162
6263#### Response
You can’t perform that action at this time.
0 commit comments