From aa182083b82be9f57d19917cad4b5eeef1f87bd0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 13:16:17 +0200 Subject: [PATCH 1/3] chore(deps): update actions/checkout action to v4 (#138) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/binary-release.yml | 4 ++-- .github/workflows/build_dev_image.yml | 4 ++-- .github/workflows/build_experimental_image.yml | 2 +- .github/workflows/rust_check.yml | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/binary-release.yml b/.github/workflows/binary-release.yml index ec47dfa1..48c5752f 100644 --- a/.github/workflows/binary-release.yml +++ b/.github/workflows/binary-release.yml @@ -10,7 +10,7 @@ jobs: audioserve-build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build image run: docker build --tag izderadicka/audioserve . - name: Publish image @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-20.04 needs: audioserve-build steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build static Binary run: | ./build_static.sh diff --git a/.github/workflows/build_dev_image.yml b/.github/workflows/build_dev_image.yml index 76e6ca45..5ef5db99 100644 --- a/.github/workflows/build_dev_image.yml +++ b/.github/workflows/build_dev_image.yml @@ -10,7 +10,7 @@ jobs: outputs: should_run: ${{ steps.should_run.outputs.should_run }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: print latest_commit run: echo ${{ github.sha }} @@ -28,7 +28,7 @@ jobs: run: | echo "Starting build" docker --version - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build image run: docker build --tag izderadicka/audioserve:unstable --build-arg CARGO_ARGS="--features=transcoding-cache,collation" . - name: Publish image diff --git a/.github/workflows/build_experimental_image.yml b/.github/workflows/build_experimental_image.yml index b49ee729..1f54a376 100644 --- a/.github/workflows/build_experimental_image.yml +++ b/.github/workflows/build_experimental_image.yml @@ -5,7 +5,7 @@ jobs: audioserve-build: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build image run: docker build --tag izderadicka/audioserve:experimental --build-arg CARGO_ARGS="--features=collation" --build-arg CARGO_RELEASE= . - name: Publish image diff --git a/.github/workflows/rust_check.yml b/.github/workflows/rust_check.yml index 9d2908a0..7c96031c 100644 --- a/.github/workflows/rust_check.yml +++ b/.github/workflows/rust_check.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: Swatinem/rust-cache@v2 - name: Check formatting run: | From 2a382c3b02c68a242455c07e97fe38876a0dacdf Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 16:44:35 +0200 Subject: [PATCH 2/3] chore(deps): update dependency ubuntu to v22 (#129) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- .github/workflows/binary-release.yml | 4 ++-- .github/workflows/build_dev_image.yml | 2 +- .github/workflows/build_experimental_image.yml | 2 +- .github/workflows/rust_check.yml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/binary-release.yml b/.github/workflows/binary-release.yml index 48c5752f..8e1c4c7a 100644 --- a/.github/workflows/binary-release.yml +++ b/.github/workflows/binary-release.yml @@ -8,7 +8,7 @@ on: jobs: audioserve-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build image @@ -18,7 +18,7 @@ jobs: docker login -u ${{secrets.DOCKERHUB_USER}} -p ${{secrets.DOCKERHUB_PASSWORD}} docker push izderadicka/audioserve build-static: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: audioserve-build steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 diff --git a/.github/workflows/build_dev_image.yml b/.github/workflows/build_dev_image.yml index 5ef5db99..d4ac4fd2 100644 --- a/.github/workflows/build_dev_image.yml +++ b/.github/workflows/build_dev_image.yml @@ -20,7 +20,7 @@ jobs: if: ${{ github.event_name == 'schedule' }} run: test -z $(git rev-list --after="24 hours" ${{ github.sha }}) && echo "::set-output name=should_run::false" audioserve-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 needs: check_date if: ${{ needs.check_date.outputs.should_run != 'false' }} steps: diff --git a/.github/workflows/build_experimental_image.yml b/.github/workflows/build_experimental_image.yml index 1f54a376..e32ebf55 100644 --- a/.github/workflows/build_experimental_image.yml +++ b/.github/workflows/build_experimental_image.yml @@ -3,7 +3,7 @@ on: workflow_dispatch: jobs: audioserve-build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - name: Build image diff --git a/.github/workflows/rust_check.yml b/.github/workflows/rust_check.yml index 7c96031c..a4309df5 100644 --- a/.github/workflows/rust_check.yml +++ b/.github/workflows/rust_check.yml @@ -10,7 +10,7 @@ env: jobs: build: - runs-on: ubuntu-20.04 + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 - uses: Swatinem/rust-cache@v2 From acc6332557e36506cd775c37cf79f267cb9073b8 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 7 Sep 2023 13:35:53 +0200 Subject: [PATCH 3/3] fix(deps): update rust crate bytes to 1.5 (#139) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> --- Cargo.lock | 4 ++-- Cargo.toml | 2 +- crates/async-tar/Cargo.toml | 2 +- crates/async-zip/Cargo.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 4b669000..cbfda4ee 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -246,9 +246,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "cachedirtree" diff --git a/Cargo.toml b/Cargo.toml index d58c4c42..b4216b09 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ members = ["crates/*"] [dependencies] -bytes = "1.4" +bytes = "1.5" env_logger = "0.10" log = {version="0.4", features = ["release_max_level_info", "max_level_trace"]} hyper = {version="0.14", features = ["full"]} diff --git a/crates/async-tar/Cargo.toml b/crates/async-tar/Cargo.toml index 5c994bb1..c6bd2344 100644 --- a/crates/async-tar/Cargo.toml +++ b/crates/async-tar/Cargo.toml @@ -11,7 +11,7 @@ tokio={version="1.32", features=["fs"]} [dev-dependencies] tempfile="3.8" -bytes = "1.4" +bytes = "1.5" tokio-util = {version="0.7", features=["codec"]} tokio={version="1.32", features=["macros", "rt"]} diff --git a/crates/async-zip/Cargo.toml b/crates/async-zip/Cargo.toml index 68a6ad54..3ac6a0a9 100644 --- a/crates/async-zip/Cargo.toml +++ b/crates/async-zip/Cargo.toml @@ -9,7 +9,7 @@ edition = "2021" [dependencies] futures = "0.3" tokio = {version="1.32", features=["full"]} -bytes = "1.4" +bytes = "1.5" chrono = "0.4" thiserror = "1.0" crc32fast = "1.3"