Update Fantomas rules and require CI to pass Fantoma formatting #493
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: ci-build | |
on: [pull_request] | |
jobs: | |
build: | |
name: Build | |
runs-on: windows-latest | |
steps: | |
# checkout the code | |
- name: checkout-code | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
# setup dotnet based on global.json | |
- name: setup-dotnet | |
uses: actions/setup-dotnet@v3 | |
# build it, test it, pack it | |
- name: Run dotnet build (release) | |
# see issue #105 | |
# very important, since we use cmd scripts, the default is psh, and a bug prevents errorlevel to bubble | |
shell: cmd | |
run: ./build.cmd |