From e8119e82f2a0d375831a08b429c6db2e2a8fa080 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Sun, 2 Mar 2025 11:05:05 +0100 Subject: [PATCH] Update the GitHub actions to V4 Because the V3 versions no longer work. --- .github/workflows/docs.yml | 6 +++--- .github/workflows/test.yml | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index d822187d..4af0e09b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -15,7 +15,7 @@ jobs: name: Generate and upload docs runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Needed for git-describe to do anything useful - name: Fetch all git history run: git fetch --force --prune --tags --unshallow @@ -25,7 +25,7 @@ jobs: sudo apt-get update sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - - uses: actions/cache@v3 + - uses: actions/cache@v4 # FIXME: Caching `target/` causes the Windows runner to blow up after some time if: startsWith(matrix.os, 'windows') with: @@ -34,7 +34,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ key: ${{ matrix.name }}-${{ matrix.cross-target }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: "!startsWith(matrix.os, 'windows')" with: path: | diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3953ba82..8055eb23 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: name: Build and test all components runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # Needed for git-describe to do anything useful - name: Fetch all git history run: git fetch --force --prune --tags --unshallow @@ -30,7 +30,7 @@ jobs: sudo apt-get update sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - - uses: actions/cache@v3 + - uses: actions/cache@v4 # FIXME: Caching `target/` causes the Windows runner to blow up after some time if: startsWith(matrix.os, 'windows') with: @@ -39,7 +39,7 @@ jobs: ~/.cargo/registry/cache/ ~/.cargo/git/db/ key: ${{ matrix.name }}-${{ matrix.cross-target }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: "!startsWith(matrix.os, 'windows')" with: path: | @@ -63,7 +63,7 @@ jobs: name: Build NIH-plug without VST3 support runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Fetch all git history run: git fetch --force --prune --tags --unshallow @@ -72,7 +72,7 @@ jobs: sudo apt-get update sudo apt-get install -y libasound2-dev libgl-dev libjack-dev libx11-xcb-dev libxcb1-dev libxcb-dri2-0-dev libxcb-icccm4-dev libxcursor-dev libxkbcommon-dev libxcb-shape0-dev libxcb-xfixes0-dev - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry/index/