Use named enum for readability #13
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
on: | |
pull_request: | |
paths-ignore: | |
- "*.md" | |
- ".gitignore" | |
- "LICENSE*" | |
push: | |
branches: | |
- "main" | |
paths-ignore: | |
- "*.md" | |
- ".gitignore" | |
- "LICENSE*" | |
jobs: | |
lint: | |
name: Run `dub lint` | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dlang-community/setup-dlang@v1 | |
- name: Run lint | |
run: dub lint | |
test: | |
name: Run `dub test` | |
strategy: | |
matrix: | |
dc: [dmd-latest, ldc-latest] | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: dlang-community/setup-dlang@v1 | |
with: | |
compiler: ${{ matrix.dc }} | |
- name: setup `wasm-tools` | |
uses: bytecodealliance/actions/wasm-tools/setup@v1 | |
- name: Run test | |
run: dub test |