From f31db131098f3b4cd99c1e768ad428958d89ccc6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:40:43 +0000 Subject: [PATCH] Bump actions/cache from 3 to 4 Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4. - [Release notes](https://github.com/actions/cache/releases) - [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md) - [Commits](https://github.com/actions/cache/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/ql-for-ql-build.yml | 4 ++-- .github/workflows/ql-for-ql-dataset_measure.yml | 2 +- .github/workflows/ql-for-ql-tests.yml | 4 ++-- .github/workflows/ruby-build.yml | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ql-for-ql-build.yml b/.github/workflows/ql-for-ql-build.yml index 2082629d9c8f..46f49d1a43e9 100644 --- a/.github/workflows/ql-for-ql-build.yml +++ b/.github/workflows/ql-for-ql-build.yml @@ -32,7 +32,7 @@ jobs: ### Build the extractor ### - name: Cache entire extractor id: cache-extractor - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ql/extractor-pack/ @@ -40,7 +40,7 @@ jobs: key: ${{ runner.os }}-${{ steps.os_version.outputs.version }}-extractor-${{ hashFiles('ql/**/Cargo.lock') }}-${{ hashFiles('shared/tree-sitter-extractor') }}-${{ hashFiles('ql/**/*.rs') }} - name: Cache cargo if: steps.cache-extractor.outputs.cache-hit != 'true' - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: | ~/.cargo/registry diff --git a/.github/workflows/ql-for-ql-dataset_measure.yml b/.github/workflows/ql-for-ql-dataset_measure.yml index e53cce8ff8ea..d04a00c5231a 100644 --- a/.github/workflows/ql-for-ql-dataset_measure.yml +++ b/.github/workflows/ql-for-ql-dataset_measure.yml @@ -34,7 +34,7 @@ jobs: languages: javascript # does not matter - uses: ./.github/actions/os-version id: os_version - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry diff --git a/.github/workflows/ql-for-ql-tests.yml b/.github/workflows/ql-for-ql-tests.yml index bc247165198a..7c0811bb6dd5 100644 --- a/.github/workflows/ql-for-ql-tests.yml +++ b/.github/workflows/ql-for-ql-tests.yml @@ -32,7 +32,7 @@ jobs: languages: javascript # does not matter - uses: ./.github/actions/os-version id: os_version - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry @@ -77,7 +77,7 @@ jobs: languages: javascript # does not matter - uses: ./.github/actions/os-version id: os_version - - uses: actions/cache@v3 + - uses: actions/cache@v4 with: path: | ~/.cargo/registry diff --git a/.github/workflows/ruby-build.yml b/.github/workflows/ruby-build.yml index cc0944e59096..e4503fd138a3 100644 --- a/.github/workflows/ruby-build.yml +++ b/.github/workflows/ruby-build.yml @@ -61,7 +61,7 @@ jobs: - uses: ./.github/actions/os-version id: os_version - name: Cache entire extractor - uses: actions/cache@v3 + uses: actions/cache@v4 id: cache-extractor with: path: | @@ -69,7 +69,7 @@ jobs: ruby/extractor/target/release/codeql-extractor-ruby.exe ruby/extractor/ql/lib/codeql/ruby/ast/internal/TreeSitter.qll key: ${{ runner.os }}-${{ steps.os_version.outputs.version }}-ruby-extractor-${{ hashFiles('ruby/extractor/rust-toolchain.toml', 'ruby/extractor/Cargo.lock') }}-${{ hashFiles('shared/tree-sitter-extractor') }}-${{ hashFiles('ruby/extractor/**/*.rs') }} - - uses: actions/cache@v3 + - uses: actions/cache@v4 if: steps.cache-extractor.outputs.cache-hit != 'true' with: path: |