From 4796e6311b77128a1e936a12774dda145cef4068 Mon Sep 17 00:00:00 2001 From: HAOCHENYE <21724054@zju.edu.cn> Date: Fri, 19 Jul 2024 01:57:33 +0800 Subject: [PATCH 1/2] Keep using node 16 --- .github/workflows/merge_stage_test.yml | 3 ++- .github/workflows/pr_stage_test.yml | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/merge_stage_test.yml b/.github/workflows/merge_stage_test.yml index 206d2b577a..f3ce6c12d3 100644 --- a/.github/workflows/merge_stage_test.yml +++ b/.github/workflows/merge_stage_test.yml @@ -1,5 +1,6 @@ name: merge_stage_test - +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true on: push: paths-ignore: diff --git a/.github/workflows/pr_stage_test.yml b/.github/workflows/pr_stage_test.yml index 8dfefeed7c..579350d934 100644 --- a/.github/workflows/pr_stage_test.yml +++ b/.github/workflows/pr_stage_test.yml @@ -1,5 +1,6 @@ name: pr_stage_test - +env: + ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION: true on: pull_request: paths-ignore: From df83fe60eb27017937e5e69dd9bdc6169036dfef Mon Sep 17 00:00:00 2001 From: HAOCHENYE <21724054@zju.edu.cn> Date: Fri, 19 Jul 2024 16:02:20 +0800 Subject: [PATCH 2/2] update lint --- .pre-commit-config-zh-cn.yaml | 2 +- .pre-commit-config.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config-zh-cn.yaml b/.pre-commit-config-zh-cn.yaml index 313c83c84b..a1e082a359 100644 --- a/.pre-commit-config-zh-cn.yaml +++ b/.pre-commit-config-zh-cn.yaml @@ -54,7 +54,7 @@ repos: - id: check-copyright args: ["mmcv", "tests", "--excludes", "mmcv/ops"] - repo: https://gitee.com/openmmlab/mirrors-mypy - rev: v0.812 + rev: v1.0.0 hooks: - id: mypy exclude: |- diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 76ded556f9..b50d1349e2 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -54,7 +54,7 @@ repos: - id: check-copyright args: ["mmcv", "tests", "--excludes", "mmcv/ops"] - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.812 + rev: v1.0.0 hooks: - id: mypy exclude: |-