diff --git a/.github/workflows/check_tflite_files.yml b/.github/workflows/check_tflite_files.yml index 6c0dcd56178..867dfe29654 100644 --- a/.github/workflows/check_tflite_files.yml +++ b/.github/workflows/check_tflite_files.yml @@ -21,7 +21,7 @@ jobs: runs-on: ubuntu-latest name: Check PR Modifies TfLite Files steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9412ee28f4b..b58bd4da8f6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -28,10 +28,10 @@ jobs: name: Bazel (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -48,10 +48,10 @@ jobs: name: Bazel with Compression (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -68,10 +68,10 @@ jobs: name: Bazel msan (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -93,10 +93,10 @@ jobs: name: Bazel with Compression [msan] (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -118,10 +118,10 @@ jobs: name: Bazel asan (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -143,10 +143,10 @@ jobs: name: Bazel with Compression [asan] (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -170,10 +170,10 @@ jobs: # # name: Bazel ubsan (presubmit) # steps: - # - uses: actions/setup-python@v4 + # - uses: actions/setup-python@v6 # with: # python-version: '3.10' - # - uses: actions/checkout@v3 + # - uses: actions/checkout@v6 # with: # ref: ${{ inputs.trigger-sha }} # - name: Install dependencies @@ -195,10 +195,10 @@ jobs: name: Cortex-M Bluepill Release (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -215,10 +215,10 @@ jobs: name: Cortex-M Bluepill No Release (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -235,10 +235,10 @@ jobs: name: Cortex-M Bluepill Renode (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -255,10 +255,10 @@ jobs: name: Cortex-M QEMU Unit Tests (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Test @@ -271,10 +271,10 @@ jobs: name: Code Style (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Check @@ -287,10 +287,10 @@ jobs: name: Project Generation (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -307,10 +307,10 @@ jobs: name: Makefile x86 Release (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -328,10 +328,10 @@ jobs: name: Makefile x86 Default (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -349,10 +349,10 @@ jobs: name: Makefile x86 with Compression (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -370,10 +370,10 @@ jobs: name: Makefile x86 Out Of Tree (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies @@ -391,10 +391,10 @@ jobs: name: Makefile x86 No TFLite Static Memory (presubmit) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Install dependencies diff --git a/.github/workflows/cortex_m.yml b/.github/workflows/cortex_m.yml index 2be7ca131ac..84dc5aec563 100644 --- a/.github/workflows/cortex_m.yml +++ b/.github/workflows/cortex_m.yml @@ -39,11 +39,11 @@ jobs: name: Cortex-M Generic steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} @@ -67,11 +67,11 @@ jobs: name: Cortex-M Corstone 300 (FVP) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} diff --git a/.github/workflows/cortex_m_arm_compiler.yml b/.github/workflows/cortex_m_arm_compiler.yml index 8596654304f..387800462e6 100644 --- a/.github/workflows/cortex_m_arm_compiler.yml +++ b/.github/workflows/cortex_m_arm_compiler.yml @@ -38,11 +38,11 @@ jobs: name: Cortex-M Generic steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' @@ -77,11 +77,11 @@ jobs: steps: - name: Checkout repo - uses: actions/checkout@v4 + uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' @@ -102,7 +102,7 @@ jobs: run: | tensorflow/lite/micro/tools/ci_build/test_cortex_m_corstone_300.sh armclang - - uses: actions/upload-artifact@v4 + - uses: actions/upload-artifact@v6 with: name: my-artifact path: | diff --git a/.github/workflows/generate_integration_tests.yml b/.github/workflows/generate_integration_tests.yml index 74ed9448e76..a79c852ac67 100644 --- a/.github/workflows/generate_integration_tests.yml +++ b/.github/workflows/generate_integration_tests.yml @@ -23,10 +23,10 @@ jobs: (github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro') name: Generate Integration Tests steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 - name: Install dependencies run: | pip3 install Pillow diff --git a/.github/workflows/hexagon.yml b/.github/workflows/hexagon.yml index ed83a16e7d6..d260efe8101 100644 --- a/.github/workflows/hexagon.yml +++ b/.github/workflows/hexagon.yml @@ -25,7 +25,7 @@ jobs: name: Hexagon Build Test (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | diff --git a/.github/workflows/issue_on_error.yml b/.github/workflows/issue_on_error.yml index 103ef6f00fb..ea290c754ad 100644 --- a/.github/workflows/issue_on_error.yml +++ b/.github/workflows/issue_on_error.yml @@ -45,7 +45,7 @@ jobs: runs-on: ubuntu-latest name: Error Trap steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Run Reporting Script env: REPO: ${{ inputs.repo }} diff --git a/.github/workflows/log_binary_size_pr.yml b/.github/workflows/log_binary_size_pr.yml index 63615e7fd05..7bd4ecd6a8b 100644 --- a/.github/workflows/log_binary_size_pr.yml +++ b/.github/workflows/log_binary_size_pr.yml @@ -38,7 +38,7 @@ jobs: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'ci:test')) || github.event_name == 'schedule' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: fetch-depth: 0 token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} diff --git a/.github/workflows/pypi_build.yml b/.github/workflows/pypi_build.yml index 90eec1aba8f..8740e7cac5c 100644 --- a/.github/workflows/pypi_build.yml +++ b/.github/workflows/pypi_build.yml @@ -29,7 +29,7 @@ jobs: pypi-build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} - name: Build Wheel 3.10 diff --git a/.github/workflows/riscv.yml b/.github/workflows/riscv.yml index e1d4f62828f..900a21e5203 100644 --- a/.github/workflows/riscv.yml +++ b/.github/workflows/riscv.yml @@ -19,10 +19,10 @@ jobs: name: RISC-V Continuous Builds steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 - name: Test uses: docker://ghcr.io/tflm-bot/tflm-ci:0.6.5 with: diff --git a/.github/workflows/riscv_postmerge.yml b/.github/workflows/riscv_postmerge.yml index 634b1d6bf6a..dfb8b7e2004 100644 --- a/.github/workflows/riscv_postmerge.yml +++ b/.github/workflows/riscv_postmerge.yml @@ -25,10 +25,10 @@ jobs: name: RISC-V Tests (postmerge) steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - name: Test diff --git a/.github/workflows/stale_handler.yml b/.github/workflows/stale_handler.yml index d6c3fa7ba21..1c6677ef6b8 100644 --- a/.github/workflows/stale_handler.yml +++ b/.github/workflows/stale_handler.yml @@ -9,7 +9,7 @@ jobs: stale: runs-on: ubuntu-latest steps: - - uses: actions/stale@v7 + - uses: actions/stale@v10 with: stale-issue-message: > "This issue is being marked as stale due to inactivity. Remove label or diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 7e488c9bb32..ae06fbc3d09 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -24,10 +24,10 @@ jobs: (github.event_name == 'schedule' && github.repository == 'tensorflow/tflite-micro') steps: - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v6 with: python-version: '3.10' - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} diff --git a/.github/workflows/tests_entry.yml b/.github/workflows/tests_entry.yml index 1ed4de16210..d1bb7579655 100644 --- a/.github/workflows/tests_entry.yml +++ b/.github/workflows/tests_entry.yml @@ -42,7 +42,7 @@ jobs: if: ${{ (contains(github.event.pull_request.labels.*.name, 'ci:ready_to_merge') && (github.event.action == 'synchronize') && !(github.event.sender.login == 'mergify[bot]')) }} - uses: actions/github-script@v5 + uses: actions/github-script@v8 with: github-token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} script: | @@ -63,7 +63,7 @@ jobs: - name: remove-cirun if: github.event.action == 'labeled' && github.event.label.name == 'ci:run' - uses: actions/github-script@v5 + uses: actions/github-script@v8 with: github-token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} script: | @@ -82,7 +82,7 @@ jobs: - name: remove-cirun-full if: github.event.action == 'labeled' && github.event.label.name == 'ci:run_full' - uses: actions/github-script@v5 + uses: actions/github-script@v8 with: github-token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} script: | diff --git a/.github/workflows/tests_post.yml b/.github/workflows/tests_post.yml index d15b0921840..c6050c4ed40 100644 --- a/.github/workflows/tests_post.yml +++ b/.github/workflows/tests_post.yml @@ -17,7 +17,7 @@ jobs: - name: remove-cirun-full if: github.event.action == 'labeled' && github.event.label.name == 'ci:run_full' - uses: actions/github-script@v5 + uses: actions/github-script@v8 with: github-token: ${{ secrets.TFLM_BOT_REPO_TOKEN }} script: | diff --git a/.github/workflows/xtensa_postmerge.yml b/.github/workflows/xtensa_postmerge.yml index d91cc945200..c5b03f1ada0 100644 --- a/.github/workflows/xtensa_postmerge.yml +++ b/.github/workflows/xtensa_postmerge.yml @@ -25,7 +25,7 @@ jobs: name: Fusion F1 Unit Tests (postmerge) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -40,7 +40,7 @@ jobs: name: Vision P6 Unit Tests (postmerge) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -55,7 +55,7 @@ jobs: name: Hifimini Unit Tests (postmerge) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | diff --git a/.github/workflows/xtensa_presubmit.yml b/.github/workflows/xtensa_presubmit.yml index 9168a0f9a39..70db093617c 100644 --- a/.github/workflows/xtensa_presubmit.yml +++ b/.github/workflows/xtensa_presubmit.yml @@ -26,7 +26,7 @@ jobs: name: Vision P6 Build (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -41,7 +41,7 @@ jobs: name: Hifi5 Unit Tests (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -56,7 +56,7 @@ jobs: name: Hifi5 Unit Tests with Compression (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -71,7 +71,7 @@ jobs: name: Hifi3z Unit Tests (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: | @@ -86,7 +86,7 @@ jobs: name: Hifi3z Unit Tests with Compression (presubmit) steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v6 with: ref: ${{ inputs.trigger-sha }} - run: |