diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6825a0b..263feb2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,8 @@ on: branches: [ "main" ] pull_request: branches: [ "main" ] + workflow_dispatch: # Allows manual runs from GitHub Actions tab + jobs: test-dotnet: diff --git a/src/.github/workflows/build-and-test.yml b/src/.github/workflows/build-and-test.yml deleted file mode 100644 index ccef169..0000000 --- a/src/.github/workflows/build-and-test.yml +++ /dev/null @@ -1,29 +0,0 @@ -name: Build and Test - -on: - push: - branches: [ main ] - pull_request: - branches: [ main ] - workflow_dispatch: # Allows manual runs from GitHub Actions tab - -jobs: - build: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - - name: Setup .NET - uses: actions/setup-dotnet@v4 - with: - dotnet-version: '10.0.x' - - - name: Restore dependencies - run: dotnet restore - - - name: Build - run: dotnet build --no-restore --configuration Release - - - name: Test - run: dotnet test --no-build --configuration Release --verbosity normal