From de381c1deb9800f57450b11f47176cb804f8642d Mon Sep 17 00:00:00 2001 From: h1dden-da3m0n <33120068+h1dden-da3m0n@users.noreply.github.com> Date: Tue, 15 Dec 2020 22:03:10 +0100 Subject: [PATCH] add basic .Net build and test GHA workflow --- .github/workflows/build-dotnet.yml | 32 ++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/build-dotnet.yml diff --git a/.github/workflows/build-dotnet.yml b/.github/workflows/build-dotnet.yml new file mode 100644 index 0000000..348ce94 --- /dev/null +++ b/.github/workflows/build-dotnet.yml @@ -0,0 +1,32 @@ +name: Test Build Plugin + +on: + push: + branches: [ master ] + paths-ignore: + - "**/*.md" + pull_request: + branches: [ master ] + paths-ignore: + - "**/*.md" + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + + - name: "Setup .NET Core" + uses: actions/setup-dotnet@v1 + with: + dotnet-version: "5.0.x" + + - name: "Install dependencies" + run: dotnet restore + + - name: "Build" + run: dotnet build --configuration Release + + - name: "Test" + run: dotnet test --no-restore --verbosity normal +