diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml new file mode 100644 index 00000000..eb05076d --- /dev/null +++ b/.github/workflows/build-test.yml @@ -0,0 +1,33 @@ +name: Dotnet Build, Test + +on: + push: + +jobs: + build-test-lint: + runs-on: ubuntu-latest + + steps: + - name: Checkout Xero-NetStandard repo + uses: actions/checkout@v4 + with: + repository: XeroAPI/Xero-NetStandard + path: Xero-NetStandard + + - name: Set up .NET environment + uses: actions/setup-dotnet@v4 + with: + dotnet-version: '3.1' + + - name: Build post generation + run: dotnet build + working-directory: Xero-NetStandard + + # - name: Validate Lint + # run: dotnet format --verify-no-changes + # working-directory: Xero-NetStandard + + + - name: Run Test + run: dotnet test + working-directory: Xero-NetStandard