Skip to content

Add .editorconfig & run dotnet format #22

Add .editorconfig & run dotnet format

Add .editorconfig & run dotnet format #22

Workflow file for this run

---
name: Build
on:
push:
branches:
- master
pull_request:
jobs:
build:
runs-on: ubuntu-20.04
strategy:
matrix:
dotnet: [ '3.0.x', '3.1.x', '5.0.x' ]
name: Build project on .NET ${{ matrix.dotnet }}
steps:
- uses: actions/[email protected]
- name: Checkout submodules # checkout rest
shell: bash
run: |
# If your submodules are configured to use SSH instead of HTTPS please uncomment the following line
# git config --global url."https://github.com/".insteadOf "[email protected]:"
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Setup dotnet
uses: actions/[email protected]
with:
dotnet-version: ${{ matrix.dotnet }}
- run: dotnet build .