diff --git a/.github/workflows/build_cc.yml b/.github/workflows/build_cc.yml index c2d2613464..500b305ba9 100644 --- a/.github/workflows/build_cc.yml +++ b/.github/workflows/build_cc.yml @@ -20,7 +20,7 @@ jobs: - variant: clang dp_variant: clang steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: actions/setup-python@v4 diff --git a/.github/workflows/build_wheel.yml b/.github/workflows/build_wheel.yml index 5f10a85269..f30b7c38ce 100644 --- a/.github/workflows/build_wheel.yml +++ b/.github/workflows/build_wheel.yml @@ -38,7 +38,7 @@ jobs: platform_id: manylinux_aarch64 dp_variant: cpu steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true # https://github.com/pypa/setuptools_scm/issues/480 @@ -60,7 +60,7 @@ jobs: name: Build source distribution runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: submodules: true - uses: actions/setup-python@v4 @@ -94,7 +94,7 @@ jobs: needs: [build_wheels] runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/download-artifact@v3 with: name: artifact diff --git a/.github/workflows/package_c.yml b/.github/workflows/package_c.yml index d3be4c9469..ada205be00 100644 --- a/.github/workflows/package_c.yml +++ b/.github/workflows/package_c.yml @@ -9,7 +9,7 @@ jobs: name: Build C library runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Package C library run: ./source/install/docker_package_c.sh # for download and debug @@ -30,7 +30,7 @@ jobs: needs: [build_c] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download artifact uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/test_cc.yml b/.github/workflows/test_cc.yml index c53921bf60..9404f12937 100644 --- a/.github/workflows/test_cc.yml +++ b/.github/workflows/test_cc.yml @@ -7,7 +7,7 @@ jobs: name: Test C++ runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.11' diff --git a/.github/workflows/test_python.yml b/.github/workflows/test_python.yml index 25dded26aa..c17a38ea79 100644 --- a/.github/workflows/test_python.yml +++ b/.github/workflows/test_python.yml @@ -32,7 +32,7 @@ jobs: steps: - name: work around permission issue run: git config --global --add safe.directory /__w/deepmd-kit/deepmd-kit - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # https://github.com/pypa/pip/issues/11770 - run: python -m pip install -U "pip>=21.3.1,!=23.0.0" - run: pip install -e .[cpu,test]