diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 62f723e0..fe209d90 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v4 - name: Install alsa run: sudo apt update && sudo apt install libasound2-dev libgtk-3-dev - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: build @@ -26,7 +26,7 @@ jobs: runs-on: windows-latest steps: - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: build @@ -39,7 +39,7 @@ jobs: runs-on: macos-latest steps: - uses: actions/checkout@v4 - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: build @@ -59,7 +59,7 @@ jobs: - uses: actions/checkout@v4 - name: Install alsa run: sudo apt update && sudo apt install libasound2-dev libgtk-3-dev libavcodec-dev libavformat-dev libswscale-dev - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: build @@ -93,7 +93,7 @@ jobs: Add-Content $env:GITHUB_ENV "FFMPEG_DIR=${pwd}\ffmpeg`n" Add-Content $env:GITHUB_PATH "${pwd}\ffmpeg\bin`n" - - uses: Swatinem/rust-cache@v1 + - uses: Swatinem/rust-cache@v2 - uses: actions-rs/cargo@v1 with: command: build