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

Update GitHub Action dependencies. #4502

Merged
merged 1 commit into from
Nov 6, 2024
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
10 changes: 5 additions & 5 deletions .github/actions/artifact-android-emulator-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ runs:
using: "composite"
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -21,12 +21,12 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Download local snapshot for tests'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
- name: 'Install Java ${{ env.USE_JAVA_VERSION }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ env.USE_JAVA_VERSION }}'
Expand All @@ -38,7 +38,7 @@ runs:
script: ./util/run-local-emulator-tests.sh
- name: 'Upload test reports (API ${{ inputs.api-level }})'
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: androidTests-report-api-${{ inputs.api-level }}
path: ${{ github.workspace }}/**/build/reports/androidTests/connected/*
10 changes: 5 additions & 5 deletions .github/actions/artifact-android-local-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ runs:
using: "composite"
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -31,12 +31,12 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Download local snapshot for tests'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
- name: 'Install Java ${{ inputs.jdk }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ inputs.jdk }}'
Expand All @@ -45,7 +45,7 @@ runs:
shell: bash
- name: 'Upload test reports (AGP ${{ inputs.agp }})'
if: ${{ always() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: tests-reports-agp-${{ inputs.agp }}
path: ${{ github.workspace }}/**/build/reports/tests/*
6 changes: 3 additions & 3 deletions .github/actions/artifact-java-local-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ runs:
using: "composite"
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -16,7 +16,7 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Download local snapshot for tests'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/artifact-verification-tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ runs:
using: "composite"
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -16,7 +16,7 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Download local snapshot for tests'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
Expand Down
8 changes: 4 additions & 4 deletions .github/actions/bazel-build/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ runs:
using: "composite"
steps:
- name: 'Install Java ${{ env.USE_JAVA_VERSION }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ env.USE_JAVA_VERSION }}'
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache Bazel files'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-build-${{ github.sha }}
Expand All @@ -28,7 +28,7 @@ runs:
run: ./util/install-local-snapshot.sh
shell: bash
- name: 'Upload local snapshot for tests'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/bazel-test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ runs:
using: "composite"
steps:
- name: 'Install Java ${{ env.USE_JAVA_VERSION }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ env.USE_JAVA_VERSION }}'
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache local Maven repository'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.m2/repository
Expand All @@ -21,7 +21,7 @@ runs:
restore-keys: |
${{ runner.os }}-maven-
- name: 'Cache Bazel files'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/bazel
# Note: we could use the same key as bazel-build, but we separate them
Expand All @@ -31,7 +31,7 @@ runs:
restore-keys: |
${{ runner.os }}-bazel-test-
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down
10 changes: 5 additions & 5 deletions .github/actions/build-gradle-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@ runs:
using: "composite"
steps:
- name: 'Install Java ${{ env.USE_JAVA_VERSION }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ env.USE_JAVA_VERSION }}'
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache local Maven repository'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.m2/repository
Expand All @@ -26,14 +26,14 @@ runs:
restore-keys: |
${{ runner.os }}-maven-
- name: 'Cache Bazel files'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-bazel-build-
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/cleanup-caches/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ runs:
using: "composite"
steps:
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cleanup caches'
run: python ./util/cleanup-github-caches.py
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/prechecks/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ runs:
with:
access_token: ${{ github.token }}
- name: 'Check out gh-pages repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: 'refs/heads/gh-pages'
path: gh-pages
Expand All @@ -21,7 +21,7 @@ runs:
env:
GH_TOKEN: ${{ github.token }}
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cleanup caches'
run: python ./util/cleanup-github-caches.py
shell: bash
Expand Down
12 changes: 6 additions & 6 deletions .github/actions/test-gradle-plugin/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ runs:
using: "composite"
steps:
- name: 'Install Java ${{ env.USE_JAVA_VERSION_FOR_PLUGIN }}'
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: '${{ env.USE_JAVA_DISTRIBUTION }}'
java-version: '${{ env.USE_JAVA_VERSION_FOR_PLUGIN }}'
- name: 'Check out repository'
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: 'Cache local Maven repository'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.m2/repository
Expand All @@ -21,14 +21,14 @@ runs:
restore-keys: |
${{ runner.os }}-maven-
- name: 'Cache Bazel files'
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ~/.cache/bazel
key: ${{ runner.os }}-bazel-build-${{ github.sha }}
restore-keys: |
${{ runner.os }}-bazel-build-
- name: 'Cache Gradle files'
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.gradle/caches
Expand All @@ -37,7 +37,7 @@ runs:
restore-keys: |
${{ runner.os }}-gradle-
- name: 'Download local snapshot for tests'
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: local-snapshot
path: ~/.m2/repository/com/google/dagger
Expand Down
Loading
Loading