diff --git a/.github/workflows/dotnet-core.yml b/.github/workflows/dotnet-core.yml new file mode 100644 index 0000000..c6b7818 --- /dev/null +++ b/.github/workflows/dotnet-core.yml @@ -0,0 +1,30 @@ +name: .NET Core + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + env: + working-directory: ./src + + steps: + - uses: actions/checkout@v2 + - name: Setup .NET Core + uses: actions/setup-dotnet@v1 + with: + dotnet-version: 3.1.101 + - name: Install dependencies + run: dotnet restore + working-directory: ${{env.working-directory}} + - name: Build + run: dotnet build --configuration Release --no-restore + working-directory: ${{env.working-directory}} + - name: Test + run: dotnet test --no-restore --verbosity normal + working-directory: ${{env.working-directory}} diff --git a/README.md b/README.md new file mode 100644 index 0000000..05f451e --- /dev/null +++ b/README.md @@ -0,0 +1,4 @@ +![Test](https://github.com/NicolasConstant/BirdsiteLive/workflows/.NET%20Core/badge.svg?branch=master&event=push) + +# BirdsiteLive +An ethical ActivityPub bridge from Twitter