diff --git a/.github/actions/install-frontend-dependencies/action.yml b/.github/actions/install-frontend-dependencies/action.yml index 129046327e..3458746f66 100644 --- a/.github/actions/install-frontend-dependencies/action.yml +++ b/.github/actions/install-frontend-dependencies/action.yml @@ -25,7 +25,7 @@ runs: cache-dependency-path: ${{ steps.yarn-lock-location.outputs.yarn-lock-location }} - name: Use cached frontend dependencies id: cache-frontend-dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ inputs.working-directory }}/grafana-plugin/node_modules # yamllint disable rule:line-length diff --git a/.github/actions/setup-python/action.yml b/.github/actions/setup-python/action.yml index 54d9fbb06c..89ab32d92e 100644 --- a/.github/actions/setup-python/action.yml +++ b/.github/actions/setup-python/action.yml @@ -14,7 +14,7 @@ runs: steps: - name: Setup Python id: setup-python - uses: actions/setup-python@v4 + uses: actions/setup-python@v5.1.0 with: python-version: "3.11.4" cache: "pip" diff --git a/.github/workflows/build-engine-docker-image-and-publish-to-dockerhub.yml b/.github/workflows/build-engine-docker-image-and-publish-to-dockerhub.yml index c5b172f257..d3a4aedc1f 100644 --- a/.github/workflows/build-engine-docker-image-and-publish-to-dockerhub.yml +++ b/.github/workflows/build-engine-docker-image-and-publish-to-dockerhub.yml @@ -21,7 +21,7 @@ jobs: id-token: write steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Set engine version number in settings file if: inputs.engine_version uses: ./.github/actions/set-engine-version-in-settings diff --git a/.github/workflows/e2e-tests.yml b/.github/workflows/e2e-tests.yml index b996a7f64a..d5a5d1fdc7 100644 --- a/.github/workflows/e2e-tests.yml +++ b/.github/workflows/e2e-tests.yml @@ -44,7 +44,7 @@ jobs: contents: read steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Collect Workflow Telemetry uses: runforesight/workflow-telemetry-action@v1 @@ -75,7 +75,7 @@ jobs: - name: Use cached plugin frontend build id: cache-plugin-frontend - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: grafana-plugin/dist key: ${{ runner.os }}-plugin-frontend-${{ hashFiles('grafana-plugin/src/**/*', 'grafana-plugin/yarn.lock') }} @@ -96,7 +96,7 @@ jobs: - name: Cache Playwright binaries/dependencies id: playwright-cache - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: "~/.cache/ms-playwright" key: ${{ runner.os }}-playwright-${{ env.PLAYWRIGHT_VERSION }}-${{ inputs.browsers }} diff --git a/.github/workflows/helm_release_pr.yml b/.github/workflows/helm_release_pr.yml index f184b78661..9087a60ce6 100644 --- a/.github/workflows/helm_release_pr.yml +++ b/.github/workflows/helm_release_pr.yml @@ -8,7 +8,7 @@ jobs: update-helm-chart-versions: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Define app_version and helm version id: tags run: | diff --git a/.github/workflows/issue_commands.yml b/.github/workflows/issue_commands.yml index 077bdb0d4d..eb1e319f8c 100644 --- a/.github/workflows/issue_commands.yml +++ b/.github/workflows/issue_commands.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Actions - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: repository: "grafana/grafana-github-actions" path: ./actions diff --git a/.github/workflows/linting-and-tests.yml b/.github/workflows/linting-and-tests.yml index 26c59fbfc2..591b712206 100644 --- a/.github/workflows/linting-and-tests.yml +++ b/.github/workflows/linting-and-tests.yml @@ -15,7 +15,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python with: @@ -29,7 +29,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install frontend dependencies uses: ./.github/actions/install-frontend-dependencies - name: Build, lint and test frontend @@ -41,7 +41,7 @@ jobs: runs-on: ubuntu-latest steps: - name: "Check out code" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Build website" # -e HUGO_REFLINKSERRORLEVEL=ERROR prevents merging broken refs with the downside # that no refs to external content can be used as these refs will not resolve in the @@ -73,7 +73,7 @@ jobs: - 3306:3306 steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python - name: Lint migrations @@ -89,8 +89,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@v3 - - uses: azure/setup-helm@v3 + uses: actions/checkout@v4 + - uses: azure/setup-helm@v4.2.0 with: version: v3.8.0 - name: Install helm unittest plugin @@ -123,7 +123,7 @@ jobs: - 3306:3306 steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python - name: Unit Test Backend @@ -162,7 +162,7 @@ jobs: --health-retries 5 steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python - name: Unit Test Backend @@ -192,7 +192,7 @@ jobs: --health-retries 5 steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python - name: Unit Test Backend @@ -204,7 +204,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python with: @@ -218,7 +218,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Setup Python uses: ./.github/actions/setup-python - name: mypy Static Type Checking diff --git a/.github/workflows/on-release-published.yml b/.github/workflows/on-release-published.yml index c16c958de0..520dbe5180 100644 --- a/.github/workflows/on-release-published.yml +++ b/.github/workflows/on-release-published.yml @@ -22,7 +22,7 @@ jobs: id-token: write steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install frontend dependencies uses: ./.github/actions/install-frontend-dependencies # This will fetch the secret keys from vault and set them as environment variables for subsequent steps @@ -86,7 +86,7 @@ jobs: id-token: write steps: - name: Checkout project - uses: actions/checkout@v3 + uses: actions/checkout@v4 # This will fetch the secret keys from vault and set them as environment variables for subsequent steps - name: Get Vault secrets uses: grafana/shared-workflows/actions/get-vault-secrets@main diff --git a/.github/workflows/publish-technical-documentation-next.yml b/.github/workflows/publish-technical-documentation-next.yml index 76cf4b60dd..ec05836414 100644 --- a/.github/workflows/publish-technical-documentation-next.yml +++ b/.github/workflows/publish-technical-documentation-next.yml @@ -12,7 +12,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Check out code" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Build website" # -e HUGO_REFLINKSERRORLEVEL=ERROR prevents merging broken refs with the downside # that no refs to external content can be used as these refs will not resolve in the @@ -29,7 +29,7 @@ jobs: needs: "test" steps: - name: "Check out code" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Clone website-sync Action" # WEBSITE_SYNC_TOKEN is a fine-grained GitHub Personal Access Token that expires. diff --git a/.github/workflows/publish-technical-documentation-release.yml b/.github/workflows/publish-technical-documentation-release.yml index 4e34c200c4..9a850dd703 100644 --- a/.github/workflows/publish-technical-documentation-release.yml +++ b/.github/workflows/publish-technical-documentation-release.yml @@ -14,7 +14,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: "Check out code" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" - name: "Build website" # -e HUGO_REFLINKSERRORLEVEL=ERROR prevents merging broken refs with the downside # that no refs to external content can be used as these refs will not resolve in the @@ -31,12 +31,12 @@ jobs: needs: "test" steps: - name: "Checkout code and tags" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" with: fetch-depth: 0 - name: "Checkout Actions library" - uses: "actions/checkout@v3" + uses: "actions/checkout@v4" with: repository: "grafana/grafana-github-actions" path: "./actions" diff --git a/.github/workflows/snyk.yml b/.github/workflows/snyk.yml index 9d3ab19279..2ec25f9ba3 100644 --- a/.github/workflows/snyk.yml +++ b/.github/workflows/snyk.yml @@ -14,7 +14,7 @@ jobs: security-scan: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: "3.11.4"