docs: Modify examples to show best practices - reuse tracer #2939
Workflow file for this run
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: Semver compliance | |
| env: | |
| CI: true | |
| on: | |
| pull_request: | |
| types: [ labeled, synchronize, opened, reopened ] | |
| jobs: | |
| semver-compliance: # This job uses the latest published crate as baseline for comparison. | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| if: ${{ github.event.label.name == 'semver-check' || contains(github.event.pull_request.labels.*.name, 'semver-check') }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install stable | |
| uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: rustfmt | |
| - name: cargo-semver-checks | |
| uses: obi1kenobi/[email protected] |