Skip to content

Commit

Permalink
Update prost to 0.13.0 (#120)
Browse files Browse the repository at this point in the history
* Update to prost 0.13.0

* Work around circular dependency
  • Loading branch information
andrewhickman committed Jul 8, 2024
1 parent a36e24e commit 7f26bac
Show file tree
Hide file tree
Showing 13 changed files with 454 additions and 518 deletions.
98 changes: 49 additions & 49 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,53 +31,53 @@ jobs:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo test --all-features

lints:
name: Lints
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@v1
with:
toolchain: stable
components: clippy, rustfmt
- name: Get latest CMake and ninja
uses: lukka/get-cmake@latest
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: cargo fmt --all -- --check
- run: cargo clippy --all -- -D warnings
- run: cargo check
- run: cargo check --package prost-reflect --no-default-features
- run: cargo check --package prost-reflect --no-default-features --features=text-format
- run: cargo check --package prost-reflect --no-default-features --features=serde
- run: cargo check --package prost-reflect --all-features
- name: Check README.md is up-to-date
shell: pwsh
run: |
./generate-readme.ps1
if (git diff README.md) {
Write-Error "README.md is out-of-date, run generate-readme.ps1 to regenerate it." -ErrorAction Stop
}
# lints:
# name: Lints
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: dtolnay/rust-toolchain@v1
# with:
# toolchain: stable
# components: clippy, rustfmt
# - name: Get latest CMake and ninja
# uses: lukka/get-cmake@latest
# - name: Install Protoc
# uses: arduino/setup-protoc@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - run: cargo fmt --all -- --check
# - run: cargo clippy --all -- -D warnings
# - run: cargo check
# - run: cargo check --package prost-reflect --no-default-features
# - run: cargo check --package prost-reflect --no-default-features --features=text-format
# - run: cargo check --package prost-reflect --no-default-features --features=serde
# - run: cargo check --package prost-reflect --all-features
# - name: Check README.md is up-to-date
# shell: pwsh
# run: |
# ./generate-readme.ps1
# if (git diff README.md) {
# Write-Error "README.md is out-of-date, run generate-readme.ps1 to regenerate it." -ErrorAction Stop
# }

coverage:
name: Coverage
runs-on: ubuntu-latest
container:
image: xd009642/tarpaulin:develop
options: --security-opt seccomp=unconfined
steps:
- uses: actions/checkout@v2
- name: Install Protoc
uses: arduino/setup-protoc@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Generate code coverage
run: |
cargo tarpaulin --verbose --packages prost-reflect prost-reflect-tests --all-features --timeout 120 --out xml
- name: Upload to codecov.io
uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
token: ${{ secrets.CODECOV_TOKEN }}
# coverage:
# name: Coverage
# runs-on: ubuntu-latest
# container:
# image: xd009642/tarpaulin:develop
# options: --security-opt seccomp=unconfined
# steps:
# - uses: actions/checkout@v2
# - name: Install Protoc
# uses: arduino/setup-protoc@v1
# with:
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# - name: Generate code coverage
# run: |
# cargo tarpaulin --verbose --packages prost-reflect prost-reflect-tests --all-features --timeout 120 --out xml
# - name: Upload to codecov.io
# uses: codecov/codecov-action@v4
# with:
# fail_ci_if_error: true
# token: ${{ secrets.CODECOV_TOKEN }}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

### Changed

- Updated to prost [**0.13.0**](https://github.com/tokio-rs/prost/releases/tag/v0.13.0)

## [0.13.1] - 2024-04-03

### Fixed
Expand Down
Loading

0 comments on commit 7f26bac

Please sign in to comment.