Skip to content

Commit

Permalink
update github actions versions
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyorlando committed Jun 7, 2024
1 parent 2d2df17 commit 6309bf0
Show file tree
Hide file tree
Showing 11 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .github/actions/install-frontend-dependencies/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-python/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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') }}
Expand All @@ -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 }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/helm_release_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issue_commands.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/linting-and-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/on-release-published.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish-technical-documentation-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish-technical-documentation-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/snyk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 6309bf0

Please sign in to comment.