diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2cd0790..5010db7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,6 +1,9 @@ name: build on: + pull_request: + branches: + - main schedule: - cron: '0 0 * * *' workflow_dispatch: @@ -27,20 +30,20 @@ jobs: with: toolchain: stable override: true - - uses: actions-rs/install@v0.1 - with: - crate: cargo-tarpaulin - version: latest - - run: cargo tarpaulin --timeout 300 -o Xml - - name: Upload to codecov.io - uses: codecov/codecov-action@v3.1.4 - with: - token: ${{secrets.CODECOV_TOKEN}} - - name: Archive code coverage results - uses: actions/upload-artifact@v3 - with: - name: code-coverage-report - path: cobertura.xml + # - uses: actions-rs/install@v0.1 + # with: + # crate: cargo-tarpaulin + # version: latest + # - run: cargo tarpaulin --timeout 300 -o Xml + # - name: Upload to codecov.io + # uses: codecov/codecov-action@v3.1.4 + # with: + # token: ${{secrets.CODECOV_TOKEN}} + # - name: Archive code coverage results + # uses: actions/upload-artifact@v3 + # with: + # name: code-coverage-report + # path: cobertura.xml build: name: Build a nightly version of runo runs-on: ubuntu-latest