diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index 9a8d8b01cf9..03a307da140 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -70,9 +70,9 @@ jobs: sudo apt-get install -y nodejs sudo mkdir -p /opt/hostedtoolcache/ sudo chmod 777 -R /opt/hostedtoolcache/ - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} @@ -88,7 +88,7 @@ jobs: - name: pip cache if: ${{ !env.ACT }} - uses: actions/cache@v4 + uses: actions/cache@v2 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-py${{ matrix.python-version }}-torch${{ matrix.pytorch-version }}-${{ matrix.test-markers }}-${{ hashFiles('requirements*.txt', '.github/workflows/pytest.yml') }} @@ -192,7 +192,7 @@ jobs: - name: Upload Unit Test Results if: ${{ always() && !env.ACT }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v2 with: name: Unit Test Results (Python ${{ matrix.python-version }} ${{ matrix.test-markers }}) path: pytest.xml @@ -230,9 +230,9 @@ jobs: timeout-minutes: 90 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v2 with: python-version: "3.10" @@ -286,9 +286,9 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python 3.9 - uses: actions/setup-python@v4 + uses: actions/setup-python@v2 with: python-version: 3.9 @@ -327,9 +327,9 @@ jobs: timeout-minutes: 60 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v2 with: python-version: 3.8 @@ -367,9 +367,9 @@ jobs: timeout-minutes: 15 steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v2 - name: Set up Python 3.8 - uses: actions/setup-python@v4 + uses: actions/setup-python@v2 with: python-version: 3.8 @@ -560,7 +560,7 @@ jobs: steps: - name: Upload if: ${{ !env.ACT }} - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@v2 with: name: Event File path: ${{ github.event_path }}