From b9a0ad0dc0ab742fa67e038d31cf00a87236a9dc Mon Sep 17 00:00:00 2001 From: harish Date: Thu, 1 Feb 2024 18:14:37 +0530 Subject: [PATCH] feat: Set up continuous integration --- .github/workflows/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..86a80c5 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,19 @@ +name: Build and Test +on: + push: + branches: * + pull_request: + branches: * +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Setup .NET + uses: actions/setup-dotnet@v1 + with: + dotnet-version: '7.0.x' + - name: Build + run: dotnet build --configuration Release + - name: Test + run: dotnet test --configuration Release --no-build \ No newline at end of file