diff --git a/.github/workflows/cpp-test.yaml b/.github/workflows/cpp-test.yaml index 6241db684..c51e9e8e7 100644 --- a/.github/workflows/cpp-test.yaml +++ b/.github/workflows/cpp-test.yaml @@ -14,7 +14,7 @@ on: - release-4.0 jobs: cpp-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/.github/workflows/rust-test.yaml b/.github/workflows/rust-test.yaml index 01bf1ac6d..b6f8bae07 100644 --- a/.github/workflows/rust-test.yaml +++ b/.github/workflows/rust-test.yaml @@ -16,7 +16,7 @@ on: - release-3.0 jobs: rust-test: - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - name: Checkout code uses: actions/checkout@v2 diff --git a/src/lib.rs b/src/lib.rs index 23fd556b7..d7c50f887 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,6 +4,8 @@ #[allow(renamed_and_removed_lints)] #[allow(bare_trait_objects)] #[allow(deprecated)] +#[allow(static_mut_refs)] + mod protos { include!(concat!(env!("OUT_DIR"), "/protos/mod.rs"));