fix: don't generate U1 if an union is resolved as a single possible v… #110
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: build | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
name: Run tests suite | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v4 | |
- uses: pnpm/action-setup@v2 | |
with: | |
version: 8 | |
- name: Tests | |
run: ./build.sh test | |
lint: | |
runs-on: ubuntu-latest | |
name: Check formatting | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup .NET | |
uses: actions/setup-dotnet@v1 | |
with: | |
dotnet-version: '8.0.x' | |
- name: Check formatting | |
run: ./build.sh lint |