Skip to content

Commit

Permalink
AVRO-3666: Merge branch 'main' into AVRO-3666-use-schema-parser
Browse files Browse the repository at this point in the history
  • Loading branch information
opwvhk committed Jan 23, 2024
2 parents 838eb0d + 328136a commit 41806c6
Show file tree
Hide file tree
Showing 18 changed files with 42 additions and 42 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/java-publish-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/maven4.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
- name: Cache Maven 4 Build Cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/build-cache
key: ${{ runner.os }}-maven-build-cache-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spotless.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-c.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
run: ./build.sh test

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
libzstd-dev
- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-lang-csharp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
7.0.x
8.0.x
- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
8.0.x
- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache Nuget
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.nuget/packages
key: ${{ runner.os }}-nuget-${{ hashFiles('**/packages.lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-lang-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@v4

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
java-version: 11

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-lang-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
with:
node-version: ${{ matrix.node }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -78,7 +78,7 @@ jobs:
with:
node-version: ${{ matrix.node }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache Npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-perl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ jobs:
inc::Module::Install
- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-lang-php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
id: composer-cache
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
Expand Down Expand Up @@ -89,7 +89,7 @@ jobs:
tools: composer:2.2.5

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-py.yml
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ jobs:
python3 -m pip install python-snappy zstandard
- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test-lang-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
- name: Install Dependencies
run: sudo apt-get install -qqy libsnappy-dev

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: .gem
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down Expand Up @@ -95,7 +95,7 @@ jobs:
- name: Install Dependencies
run: sudo apt-get install -qqy libsnappy-dev

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: .gem
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand All @@ -106,7 +106,7 @@ jobs:
run: bundle config path .gem

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -152,7 +152,7 @@ jobs:
uses: actions/checkout@v4

- name: Cache gems
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .gem
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-lang-rust-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: actions/checkout@v4
- name: Dependency Review
if: github.event_name == 'pull_request'
uses: actions/dependency-review-action@v3
uses: actions/dependency-review-action@v4
- name: Install Cargo Audit
run: cargo install cargo-audit
- name: Audit
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/test-lang-rust-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,14 +60,14 @@ jobs:
uses: actions/checkout@v4

- name: Cache Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: ~/.cargo
key: ${{ runner.os }}-target-cache1-${{ hashFiles('**/Cargo.lock') }}
- name: Cache Rust dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent compiled steps of both dependencies and avro
# and thus are specific for a particular OS, arch and rust version.
Expand All @@ -83,7 +83,7 @@ jobs:

- name: Cache cargo-rdme
if: matrix.rust == 'stable' && matrix.target == 'x86_64-unknown-linux-gnu'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cargo-${{ matrix.rust }}/cargo-rdme
key: cargo-rdme-
Expand Down Expand Up @@ -130,22 +130,22 @@ jobs:
toolchain: stable

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

- name: Cache Local Maven Repository
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
Expand Down Expand Up @@ -215,15 +215,15 @@ jobs:
targets: wasm32-unknown-unknown

- name: Cache Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: ~/.cargo
key: ${{ runner.os }}-target-cache1-${{ hashFiles('**/Cargo.lock') }}

- name: Cache Rust dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent compiled steps of both dependencies and avro
# and thus are specific for a particular OS, arch and rust version.
Expand All @@ -248,15 +248,15 @@ jobs:
uses: actions/checkout@v4

- name: Cache Cargo
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent dependencies downloaded by cargo
# and thus do not depend on the OS, arch nor rust version.
path: ~/.cargo
key: ${{ runner.os }}-target-arm64-${{ hashFiles('**/Cargo.lock') }}

- name: Cache Rust dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
# these represent compiled steps of both dependencies and avro
# and thus are specific for a particular OS, arch and rust version.
Expand Down
2 changes: 1 addition & 1 deletion lang/java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
<junit5.version>5.10.1</junit5.version>
<maven-core.version>3.3.9</maven-core.version>
<mockito.version>4.11.0</mockito.version>
<netty.version>4.1.104.Final</netty.version>
<netty.version>4.1.106.Final</netty.version>
<protobuf.version>3.25.2</protobuf.version>
<reload4j.version>1.2.25</reload4j.version>
<servlet-api.version>4.0.1</servlet-api.version>
Expand Down
8 changes: 4 additions & 4 deletions lang/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lang/rust/avro/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ strum = { default-features = false, version = "0.25.0" }
strum_macros = { default-features = false, version = "0.25.3" }
thiserror = { default-features = false, version = "1.0.56" }
typed-builder = { default-features = false, version = "0.18.1" }
uuid = { default-features = false, version = "1.6.1", features = ["serde", "std"] }
uuid = { default-features = false, version = "1.7.0", features = ["serde", "std"] }
xz2 = { default-features = false, version = "0.1.7", optional = true }
zstd = { default-features = false, version = "0.13.0", optional = true }

Expand Down
2 changes: 1 addition & 1 deletion lang/rust/avro_derive/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ proc-macro = true

[dependencies]
darling = { default-features = false, version = "0.20.3" }
proc-macro2 = { default-features = false, version = "1.0.76" }
proc-macro2 = { default-features = false, version = "1.0.78" }
quote = { default-features = false, version = "1.0.35" }
serde_json = { workspace = true }
syn = { default-features = false, version = "2.0.48", features = ["full", "fold"] }
Expand Down

0 comments on commit 41806c6

Please sign in to comment.