name: .NET Core on: push: paths: - 'Myriad/**' - 'PluralKit.API/**' - 'PluralKit.Bot/**' - 'PluralKit.Core/**' pull_request: paths: - 'Myriad/**' - 'PluralKit.API/**' - 'PluralKit.Bot/**' - 'PluralKit.Core/**' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 6.0.x - name: Build with dotnet run: dotnet build --configuration Release test: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 with: submodules: recursive - name: Setup .NET Core uses: actions/setup-dotnet@v1 with: dotnet-version: 6.0.x - name: Run automated tests run: dotnet test --configuration Release