From 6dbe7517271f254a0f129fa566f2b411b751b792 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sun, 28 Apr 2024 18:35:17 +0100 Subject: [PATCH] Update GitHub Actions to fix warnings --- .github/workflows/ci.yml | 16 ++++++++-------- .github/workflows/release.yml | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9477d53d..96016e37 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -80,7 +80,7 @@ jobs: ./libloot_internals_tests ./libloot_tests - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -112,7 +112,7 @@ jobs: if: github.event_name == 'push' - name: Upload archive - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.build-archive.outputs.filename }} path: | @@ -128,12 +128,12 @@ jobs: platform: [Win32, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -174,7 +174,7 @@ jobs: .\libloot_internals_tests.exe .\libloot_tests.exe - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -213,7 +213,7 @@ jobs: if: github.event_name == 'push' - name: Upload archive - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: ${{ steps.build-archive.outputs.filename }} path: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6e949144..f122c1c9 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,12 +43,12 @@ jobs: needs: create_release steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -97,7 +97,7 @@ jobs: ./libloot_internals_tests ./libloot_tests - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10' @@ -138,12 +138,12 @@ jobs: platform: [Win32, x64] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 - name: Cache cargo - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -170,7 +170,7 @@ jobs: cmake .. -G "Visual Studio 16 2019" -A ${{ matrix.platform }} -DBOOST_ROOT="${{ steps.get-boost.outputs.root }}" -DCPACK_PACKAGE_VERSION="${{ needs.create_release.outputs.git_tag }}" cmake --build . --config ${{ env.MSVC_CONFIG }} - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.10'