From cf54c8f1bac49addd835b235184f21ee54e9c504 Mon Sep 17 00:00:00 2001 From: Julien Jomier <219040+jjomier@users.noreply.github.com> Date: Tue, 30 Jan 2024 10:52:13 -0500 Subject: [PATCH] Improved CI + fix lint (#173) Signed-off-by: Julien Jomier --- .github/workflows/check_lint.yml | 2 +- .github/workflows/check_metadata.yml | 2 +- .github/workflows/generate_pages.yml | 4 ++-- .../self_supervised_training/extract_frames.py | 1 + 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/check_lint.yml b/.github/workflows/check_lint.yml index 7da684f5f..adb1f0eb6 100644 --- a/.github/workflows/check_lint.yml +++ b/.github/workflows/check_lint.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Install Dependencies run: ./run install_lint_deps diff --git a/.github/workflows/check_metadata.yml b/.github/workflows/check_metadata.yml index a92c35fa0..f57a90fcd 100644 --- a/.github/workflows/check_metadata.yml +++ b/.github/workflows/check_metadata.yml @@ -8,7 +8,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Run metadata_validator.py run: python utilities/metadata_validator.py diff --git a/.github/workflows/generate_pages.yml b/.github/workflows/generate_pages.yml index 70db42a21..9310c547f 100644 --- a/.github/workflows/generate_pages.yml +++ b/.github/workflows/generate_pages.yml @@ -12,7 +12,7 @@ jobs: steps: - name: Checkout Repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: ref: 'github.io' @@ -23,7 +23,7 @@ jobs: run: python gather_metadata.py - name: Install Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: node-version: '14' diff --git a/tutorials/pretrained_foundational_models/self_supervised_training/extract_frames.py b/tutorials/pretrained_foundational_models/self_supervised_training/extract_frames.py index 1f0deebc3..541d88357 100644 --- a/tutorials/pretrained_foundational_models/self_supervised_training/extract_frames.py +++ b/tutorials/pretrained_foundational_models/self_supervised_training/extract_frames.py @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. """ + import argparse import os