Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/test-lang-rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v2

- name: Cache Cargo
uses: actions/cache@v2
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: ~/.cargo
key: cargo-cache1-
- name: Cache Rust dependencies
uses: actions/cache@v2
with:
# these represent compiled steps of both dependencies and avro
# and thus are specific for a particular OS, arch and rust version.
path: ~/target
key: ${{ runner.os }}-target-cache1-${{ matrix.rust }}-

- name: Rust Toolchain
uses: actions-rs/toolchain@v1
with:
Expand Down Expand Up @@ -96,6 +111,21 @@ jobs:
toolchain: stable
override: true

- name: Cache Cargo
uses: actions/cache@v2
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: ~/.cargo
key: cargo-cache1-
- name: Cache Rust dependencies
uses: actions/cache@v2
with:
# these represent compiled steps of both dependencies and avro
# and thus are specific for a particular OS, arch and rust version.
path: ~/target
key: ${{ runner.os }}-target-cache1-stable-

- name: Cache Local Maven Repository
uses: actions/cache@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion lang/rust/avro/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1511,8 +1511,8 @@ const RESERVED_FIELDS: &[&str] = &[
"symbols",
"items",
"values",
"logicalType",
"size",
"logicalType",
"order",
"doc",
"aliases",
Expand Down