Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
izderadicka committed Sep 17, 2023
2 parents 32de1ef + acc6332 commit 2fee0e8
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/binary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,20 @@ on:

jobs:
audioserve-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Build image
run: docker build --tag izderadicka/audioserve .
- name: Publish image
run: |
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@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Build static Binary
run: |
./build_static.sh
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build_dev_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand All @@ -20,15 +20,15 @@ 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:
- name: Check docker
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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_experimental_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ on:
workflow_dispatch:
jobs:
audioserve-build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/rust_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ env:
jobs:
build:

runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: Swatinem/rust-cache@v2
- name: Check formatting
run: |
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}
Expand Down
2 changes: 1 addition & 1 deletion crates/async-tar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]}

2 changes: 1 addition & 1 deletion crates/async-zip/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 2fee0e8

Please sign in to comment.