Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix][ci] Use GitHub Actions versions that aren't deprecated #18002

Merged
merged 2 commits into from
Oct 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci-go-functions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
docs_only: ${{ steps.check_changes.outputs.docs_only }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Detect changed files
id: changes
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:

steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-maven-cache-update.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand All @@ -88,7 +88,7 @@ jobs:
- name: Cache local Maven repository
if: ${{ github.event_name == 'schedule' || steps.changes.outputs.poms == 'true' }}
id: cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository/*/*/*
Expand All @@ -99,7 +99,7 @@ jobs:
# cache would be used as the starting point for a new cache entry

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
if: ${{ (github.event_name == 'schedule' || steps.changes.outputs.poms == 'true') && steps.cache.outputs.cache-hit != 'true' }}
with:
distribution: 'temurin'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci-owasp-dependency-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,15 +48,15 @@ jobs:

steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
ref: ${{ matrix.checkout_branch }}

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository/*/*/*
Expand All @@ -69,14 +69,14 @@ jobs:

- name: Set up JDK 17
if: ${{ matrix.name != 'branch-2.8' && matrix.name != 'branch-2.9' && matrix.name != 'branch-2.10' }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

- name: Set up JDK 11
if: ${{ matrix.name == 'branch-2.8' || matrix.name == 'branch-2.9' || matrix.name == 'branch-2.10' }}
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pulsar-ci-flaky.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
changed_tests: ${{ steps.changes.outputs.tests_files }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Detect changed files
id: changes
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
if: ${{ needs.changed_files_job.outputs.docs_only != 'true' }}
steps:
- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: Tune Runner VM
uses: ./.github/actions/tune-runner-vm
Expand All @@ -87,7 +87,7 @@ jobs:
limit-access-to-actor: true

- name: Cache local Maven repository
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.m2/repository/*/*/*
Expand All @@ -97,7 +97,7 @@ jobs:
${{ runner.os }}-m2-dependencies-core-modules-

- name: Set up JDK 17
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17
Expand Down
Loading