feat: Add Grafana Alloy configuration support for observability (back… #3696
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: Lint check all features | |
| on: | |
| push: | |
| branches: [ 'devnet_*', 'testnet_*' ] | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| # This allows a subsequently queued workflow run to interrupt previous runs on pull requests | |
| concurrency: | |
| group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.run_id }}' | |
| cancel-in-progress: true | |
| env: | |
| CARGO_TERM_COLOR: always | |
| CARGO_INCREMENTAL: 0 | |
| CARGO_NET_RETRY: 10 | |
| RUST_BACKTRACE: short | |
| # We allow redundant explicit links because `cargo rdme` doesn't know how to resolve implicit intra-crate links. | |
| RUSTDOCFLAGS: -A rustdoc::redundant_explicit_links -D warnings | |
| RUSTFLAGS: -D warnings | |
| RUSTUP_MAX_RETRIES: 10 | |
| RUST_LOG: warn | |
| DOCKER_COMPOSE_WAIT: "true" | |
| permissions: | |
| contents: read | |
| jobs: | |
| lint-check-all-features: | |
| if: ${{ github.event_name == 'merge_group' }} | |
| runs-on: ubuntu-latest-16-cores | |
| timeout-minutes: 40 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Put lint toolchain file in place | |
| run: | | |
| ln -sf toolchains/nightly/rust-toolchain.toml | |
| - uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| - name: Install cargo-all-features | |
| run: | | |
| cargo install --git https://github.com/ma2bd/cargo-all-features --branch workspace_metadata --locked | |
| - name: Install Protoc | |
| uses: arduino/setup-protoc@v3 | |
| with: | |
| repo-token: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run cargo check-all-features | |
| run: | | |
| cargo check-all-features --all-targets |