Skip to content

chore(deps,cargo): update prost-build requirement from 0.11 to 0.12 #398

chore(deps,cargo): update prost-build requirement from 0.11 to 0.12

chore(deps,cargo): update prost-build requirement from 0.11 to 0.12 #398

Workflow file for this run

# SPDX-License-Identifier: Apache-2.0
name: Test
on: [push, pull_request]
jobs:
check:
name: Check
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- default
- pbjson
- protoc
- semver,serde
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
if: matrix.feature != 'protoc'
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo check --features ${{ matrix.feature }}
test:
name: Test
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- default
- pbjson
- semver,serde
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo test --features ${{ matrix.feature }}
rustfmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
- run: cargo fmt -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
feature:
- default
- pbjson
- semver,serde
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: dtolnay/rust-toolchain@clippy
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo clippy --features ${{ matrix.feature }} -- -Dwarnings
package:
name: Package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: recursive
- uses: dtolnay/rust-toolchain@stable
- uses: arduino/setup-protoc@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo build
- run: cargo package --allow-dirty