Add syntax highlight to example codes, remove unwarned indentation so viewing from the IDE don't get padded #105
Workflow file for this run
This file contains hidden or 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: main | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: ["**"] | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: erlef/setup-beam@v1 | |
| with: | |
| otp-version: "27.0" | |
| gleam-version: "1.11.0" | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "20.x" | |
| - run: gleam format --check | |
| - run: gleam test --target erlang | |
| - run: gleam test --target javascript |