Skip to content
Open
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/actions/gradle-task-with-commit/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ runs:

# ensure that we have the actual branch checked out. By default, actions/checkout is headless.
- name: check out with the generated app token
uses: actions/checkout@v6
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
if: steps.can-push.outputs.can_push == 'true'
with:
token: ${{ inputs.access-token }}
Expand Down Expand Up @@ -75,7 +75,7 @@ runs:

- name: commit ${{ inputs.fix-task }} changes
if: steps.can-push.outputs.can_push == 'true'
uses: stefanzweifel/git-auto-commit-action@v7
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7
with:
commit_message: ${{ steps.set-commit-message.outputs.commit-message }}
commit_options: '--no-verify --signoff'
Expand Down
18 changes: 9 additions & 9 deletions .github/actions/gradle-task/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ runs:
steps:

- name: Set up JDK
uses: actions/setup-java@v5
uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5
with:
distribution: ${{inputs.distribution}}
java-version: ${{inputs.java-version}}
Expand All @@ -42,7 +42,7 @@ runs:
uses: ./.github/actions/gradle-args

- name: Gradle build action
uses: gradle/actions/setup-gradle@v5
uses: gradle/actions/setup-gradle@0723195856401067f7a2779048b490ace7a47d7c # v5
with:
cache-read-only: false

Expand All @@ -64,7 +64,7 @@ runs:
- name: restore cache for ${{inputs.write-cache-key}}
id: restore-write-cache
if: inputs.write-cache-key != 'null'
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
~/.gradle/caches/build-cache-1
Expand All @@ -82,7 +82,7 @@ runs:
# Skipped if the restore-cache-key wasn't set, or if the write-cache-key restore had an exact match.
- name: restore cache for ${{inputs.restore-cache-key}}
if: inputs.restore-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
~/.gradle/caches/build-cache-1
Expand All @@ -96,7 +96,7 @@ runs:
${{runner.os}}-${{inputs.restore-cache-key}}-${{steps.hashes.outputs.lib_versions}}
${{runner.os}}-${{inputs.restore-cache-key}}

- uses: gradle/actions/wrapper-validation@v5
- uses: gradle/actions/wrapper-validation@0723195856401067f7a2779048b490ace7a47d7c # v5

# Run the actual task.
- name: Run ${{inputs.task}}
Expand All @@ -112,7 +112,7 @@ runs:
# Windows runners are welcome to *read* the cross-OS cache, but the directories get weird if
# they try to write to it.
- name: save the '${{inputs.write-cache-key}}' cache
uses: actions/cache/save@v4
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
id: save-write-cache-key
if: inputs.write-cache-key != 'null' && steps.restore-write-cache.outputs.cache-hit != 'true'
with:
Expand All @@ -125,21 +125,21 @@ runs:

- name: Upload Any Logs
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: log-upload
path: ${{github.workspace}}/**/*.log

- name: Upload Any Heap Dumps
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: hprof-upload
path: ${{github.workspace}}/**/*.hprof

- name: Upload Any Specified Files
if: failure() && inputs.failure-path-upload != 'null'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: ${{inputs.failure-upload-name}}
path: ${{github.workspace}}/${{inputs.failure-path-upload}}
Expand Down
14 changes: 7 additions & 7 deletions .github/actions/gradle-tasks-with-emulator/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:

# Get the AVD if it's already cached.
- name: AVD cache
uses: actions/cache/restore@v4
uses: actions/cache/restore@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
id: restore-avd-cache
with:
path: |
Expand All @@ -75,7 +75,7 @@ runs:
# If the AVD cache didn't exist, create an AVD
- name: create AVD and generate snapshot for caching
if: steps.restore-avd-cache.outputs.cache-hit != 'true'
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a # v2
with:
api-level: ${{ inputs.api-level }}
arch: x86_64
Expand All @@ -91,7 +91,7 @@ runs:
- name: cache new AVD before tests
if: steps.restore-avd-cache.outputs.cache-hit != 'true'
id: save-avd-cache
uses: actions/cache/save@v4
uses: actions/cache/save@0057852bfaa89a56745cba8c7296529d2fc39830 # v4
with:
path: |
~/.android/avd/*
Expand All @@ -101,7 +101,7 @@ runs:
# Run the actual emulator tests.
# At this point every task should be up-to-date and the AVD should be ready to go.
- name: run tests
uses: reactivecircus/android-emulator-runner@v2
uses: reactivecircus/android-emulator-runner@e89f39f1abbbd05b1113a29cf4db69e7540cae5a # v2
with:
api-level: ${{ inputs.api-level }}
arch: x86_64
Expand All @@ -113,21 +113,21 @@ runs:

- name: Upload Any Logs
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: log-upload
path: ${{github.workspace}}/**/*.log

- name: Upload Any Heap Dumps
if: failure()
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: hprof-upload
path: ${{github.workspace}}/**/*.hprof

- name: Upload Any Specified Files
if: failure() && inputs.failure-path-upload != 'null'
uses: actions/upload-artifact@v5
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5
with:
name: specified-upload
path: ${{github.workspace}}/${{inputs.failure-path-upload}}
6 changes: 3 additions & 3 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# your codebase is analyzed, see https://docs.github.com/en/code-security/code-scanning/creating-an-advanced-setup-for-code-scanning/codeql-code-scanning-for-compiled-languages
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4

# Add any setup steps before running the `github/codeql-action/init` action.
# This includes steps like installing compilers or runtimes (`actions/setup-node`
Expand All @@ -72,7 +72,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v4
uses: github/codeql-action/init@38697555549f1db7851b81482ff19f1fa5c4fedc # v4
with:
languages: ${{ matrix.language }}
build-mode: ${{ matrix.build-mode }}
Expand Down Expand Up @@ -103,6 +103,6 @@ jobs:
exit 1

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v4
uses: github/codeql-action/analyze@38697555549f1db7851b81482ff19f1fa5c4fedc # v4
with:
category: "/language:${{matrix.language}}"
Loading
Loading