diff --git a/.github/workflows/unit-tests.yml b/.github/workflows/unit-tests.yml index 67b1a1e34..64c3438ad 100644 --- a/.github/workflows/unit-tests.yml +++ b/.github/workflows/unit-tests.yml @@ -42,10 +42,10 @@ jobs: python-version: "3.7" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} @@ -58,7 +58,7 @@ jobs: python -m pip install pytest - name: Cache data - uses: actions/cache@v3 + uses: actions/cache@v4 with: path: ${{ env.HANLP_HOME }} key: hanlp-data @@ -74,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install dependencies run: | python -m pip install setuptools wheel twine