build(deps): enforce tonic >= 0.12.3 and update other dependencies #452
Workflow file for this run
This file contains 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: Rust | |
on: | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
push: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- master | |
- "v*.*.*" | |
jobs: | |
cleanup-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rokroskar/workflow-run-cleanup-action@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/master'" | |
fmt: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/deps | |
- name: Check code formatting | |
shell: bash | |
run: cargo fmt --all -- --check | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: ./.github/actions/deps | |
- name: Check documentation generation | |
shell: bash | |
env: | |
RUSTDOCFLAGS: "--cfg docsrs" | |
run: cargo doc --no-deps --all-features |