From 9d1fa2ece5248eea071f7439fb8d991eb3bcc825 Mon Sep 17 00:00:00 2001 From: hankcs Date: Tue, 17 Dec 2024 19:37:18 -0800 Subject: [PATCH] Upgrade GitHub Actions to the latest versions --- .github/workflows/unit-tests.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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