fix(worker): debounce outages behind a consecutive-failure threshold #48
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: build | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "config/**" | |
| - "db/migrations/**" | |
| - "bump.sln" | |
| - "global.json" | |
| - ".github/workflows/build.yml" | |
| pull_request: | |
| paths: | |
| - "src/**" | |
| - "tests/**" | |
| - "config/**" | |
| - "db/migrations/**" | |
| - "bump.sln" | |
| - "global.json" | |
| - ".github/workflows/build.yml" | |
| concurrency: | |
| group: build-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup .NET | |
| uses: actions/setup-dotnet@v4 | |
| with: | |
| global-json-file: global.json | |
| - name: Restore | |
| run: dotnet restore bump.sln | |
| - name: Build | |
| run: dotnet build bump.sln --configuration Release --no-restore | |
| - name: Test | |
| run: dotnet test bump.sln --configuration Release --no-build |