Skip to content

Update to .NET 9-rc.1, drop SignalR polymorphism workaround #8

Update to .NET 9-rc.1, drop SignalR polymorphism workaround

Update to .NET 9-rc.1, drop SignalR polymorphism workaround #8

Workflow file for this run

name: Deploy to fly.io
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
unittest:
name: Unit tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 9.0.x
- name: Restore dependencies
run: dotnet restore
- name: Build
run: dotnet build --no-restore
- name: Test
run: dotnet test --no-build --verbosity normal
deploy:
name: Deploy
if: github.event_name == 'push'
needs: unittest
runs-on: ubuntu-latest
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
steps:
- uses: actions/checkout@v3
- uses: superfly/flyctl-actions/setup-flyctl@master
- run: flyctl deploy --remote-only