name: Test if Server can be built
run-name: ${{ gitea.actor }} is building the Server application
on: [ push ]

jobs:
  build-server:
    steps:
    - uses: actions/checkout@v3
    - name: Setup dotnet
      uses: https://github.com/actions/setup-dotnet@v3
      with:
        global-json-file: global.json
    - run: dotnet build Server