From b0581e171bbd8f2f87f8d5ea853c9477e15ae7a4 Mon Sep 17 00:00:00 2001 From: Rodney Peck Date: Mon, 11 Mar 2024 16:59:17 -0700 Subject: [PATCH] update github workflow versions for node v20 correcting warnings in github: https://github.com/GoogleCloudPlatform/gcpdiag/actions/runs/8193196244 Change-Id: I0d152a78aa18a245b647f17f3b5711799a844fc0 GitOrigin-RevId: ae066e43be607dea1f3e1bfc85b06e75f8b81538 --- .github/workflows/code-analysis.yml | 8 ++++---- .github/workflows/gh-pages.yml | 2 +- .github/workflows/gke-eol.yml | 2 +- .github/workflows/test.yml | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/code-analysis.yml b/.github/workflows/code-analysis.yml index 244d9bee69..cc78995db9 100644 --- a/.github/workflows/code-analysis.yml +++ b/.github/workflows/code-analysis.yml @@ -10,16 +10,16 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python id: setup-python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 - name: Set up Terraform - uses: hashicorp/setup-terraform@3d8debd658c92063839bc97da5c2427100420dec + uses: hashicorp/setup-terraform@v3 # v1.3.2 with: terraform_version: 1.0.6 @@ -29,7 +29,7 @@ jobs: - name: Restore pipenv cache id: cache-pipenv - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./.venv key: codeanaysis-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }} diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index dfb429885a..c62278ebcf 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -10,7 +10,7 @@ jobs: deploy: runs-on: ubuntu-20.04 steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: submodules: true fetch-depth: 0 diff --git a/.github/workflows/gke-eol.yml b/.github/workflows/gke-eol.yml index 64f14492d7..cc5a344e39 100644 --- a/.github/workflows/gke-eol.yml +++ b/.github/workflows/gke-eol.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 # Ensure all history is fetched for accurate diff diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c487d97d25..9dec6bb3b1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,11 +10,11 @@ jobs: timeout-minutes: 10 steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Set up Python id: setup-python - uses: actions/setup-python@v2 + uses: actions/setup-python@v5 with: python-version: 3.9 @@ -23,7 +23,7 @@ jobs: - name: Restore pipenv cache id: cache-pipenv - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ./.venv key: test-${{ runner.os }}-python-${{ steps.setup-python.outputs.python-version }}-pipenv-${{ hashFiles('Pipfile.lock') }}