diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index db9c031..23a2ba4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -6,14 +6,14 @@ on: pull_request: branches: [main] +concurrency: + group: ci-${{ github.ref }} + cancel-in-progress: true + jobs: build: - name: Build and Test (${{ matrix.os }}) - runs-on: ${{ matrix.os }} - strategy: - fail-fast: false - matrix: - os: [ubuntu-latest, macos-latest] + name: Build and Test + runs-on: self-hosted steps: - name: Checkout @@ -37,6 +37,6 @@ jobs: - name: Upload coverage uses: actions/upload-artifact@v4 with: - name: coverage-${{ matrix.os }} + name: coverage-self-hosted path: coverage.out retention-days: 7