diff --git a/.github/actions/setup-win/action.yml b/.github/actions/setup-win/action.yml index 4447e9203d504..d442343430c7d 100644 --- a/.github/actions/setup-win/action.yml +++ b/.github/actions/setup-win/action.yml @@ -57,8 +57,7 @@ runs: - name: Setup Python3 uses: actions/setup-python@v4 with: - python-version: 3.x - check-latest: false + python-version: "3.x" cache: pip cache-dependency-path: | **/requirements.txt diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 17ffb239b15a7..669977b143a5e 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -25,14 +25,16 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false cache: pip cache-dependency-path: | **/.github/requirements-gha-cache.txt - - name: Install requirements - run: | - pip install -r .github/requirements-gha-cache.txt --user + - name: Install lintrunner + uses: nick-fields/retry@3e91a01664abd3c5cd539100d10d33b9c5b68482 + with: + timeout_minutes: 5 + max_attempts: 3 + command: pip install lintrunner==0.9.2 - name: Initialize lint dependencies run: lintrunner init @@ -85,7 +87,6 @@ jobs: with: python-version: 3.x architecture: x64 - check-latest: false cache: pip cache-dependency-path: | **/requirements.txt @@ -150,7 +151,6 @@ jobs: with: python-version: 3.x architecture: x64 - check-latest: false cache: pip cache-dependency-path: | **/requirements.txt @@ -242,8 +242,7 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false - cache: pip + cache: 'pip' cache-dependency-path: | **/.github/requirements-gha-cache.txt @@ -276,7 +275,6 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false cache: pip cache-dependency-path: | **/requirements.txt @@ -322,24 +320,21 @@ jobs: with: python-version: 3.5 architecture: x64 - check-latest: false cache: pip cache-dependency-path: | - **/requirements.txt + **/.github/requirements-gha-cache.txt - name: Setup Python 3.8 if: matrix.test_type != 'older_python_version' uses: actions/setup-python@v4 with: python-version: 3.8 architecture: x64 - check-latest: false cache: pip cache-dependency-path: | - **/requirements.txt + **/.github/requirements-gha-cache.txt - name: Install torch if: matrix.test_type == 'with_torch' run: | - pip install -r requirements.txt # Doesn't really matter what torch version, we just need ANY torch installed pip install 'torch==1.*' - name: Run collect_env.py diff --git a/.github/workflows/pr-labels.yml b/.github/workflows/pr-labels.yml index de6da1feec02a..aa8cf4472b784 100644 --- a/.github/workflows/pr-labels.yml +++ b/.github/workflows/pr-labels.yml @@ -17,8 +17,7 @@ jobs: - name: Set up python uses: actions/setup-python@v4 with: - python-version: 3.10 - check-latest: false + python-version: '3.10' cache: pip cache-dependency-path: | **/.github/requirements-gha-cache.txt diff --git a/.github/workflows/revert.yml b/.github/workflows/revert.yml index 6468f3b8c804c..d207840f383b4 100644 --- a/.github/workflows/revert.yml +++ b/.github/workflows/revert.yml @@ -23,8 +23,7 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false - cache: pip + cache: 'pip' - run: pip install pyyaml==6.0 - name: Setup committer id diff --git a/.github/workflows/trymerge.yml b/.github/workflows/trymerge.yml index 372b442163df0..dff92303f5056 100644 --- a/.github/workflows/trymerge.yml +++ b/.github/workflows/trymerge.yml @@ -22,8 +22,7 @@ jobs: uses: actions/setup-python@v4 with: python-version: 3.8 - check-latest: false - cache: pip + cache: 'pip' architecture: x64 - run: pip install pyyaml==6.0 diff --git a/.github/workflows/tryrebase.yml b/.github/workflows/tryrebase.yml index dd32069932678..fed9000c420e9 100644 --- a/.github/workflows/tryrebase.yml +++ b/.github/workflows/tryrebase.yml @@ -22,8 +22,7 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false - cache: pip + cache: 'pip' - run: pip install pyyaml==6.0 - name: Setup committer id diff --git a/.github/workflows/update-viablestrict.yml b/.github/workflows/update-viablestrict.yml index 4be70de020a3b..5901b1f4cda1b 100644 --- a/.github/workflows/update-viablestrict.yml +++ b/.github/workflows/update-viablestrict.yml @@ -24,7 +24,6 @@ jobs: with: python-version: 3.8 architecture: x64 - check-latest: false cache: pip cache-dependency-path: | **/.circleci/docker/requirements-ci.txt diff --git a/tools/linter/adapters/s3_init_config.json b/tools/linter/adapters/s3_init_config.json index d48f264f83d5d..0b0e87e8e26cf 100644 --- a/tools/linter/adapters/s3_init_config.json +++ b/tools/linter/adapters/s3_init_config.json @@ -27,12 +27,12 @@ }, "actionlint": { "Darwin": { - "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.21/Darwin_amd64/actionlint", - "hash": "b354db83815384d3c3a07f68f44b30cb0a70899757a0d185d7322de9952e8813" + "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.15/Darwin_amd64/actionlint", + "hash": "e9a0e0b17e54cfefe7964b6aa1da8921b1f8f2318c31c0eb1a17ea3e8ab10db2" }, "Linux": { - "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.21/Linux_arm64/actionlint", - "hash": "025ac157db121b33971ef24af72d73d71cda3cb1e3a94795bb2708ef4032ca76" + "download_url": "https://oss-clang-format.s3.us-east-2.amazonaws.com/actionlint/1.6.15/Linux_arm64/actionlint", + "hash": "d6b45ae67f29a2bf9ddd226071ddd8f158fdf2992e8515a06838e5fef90f3a2d" } } }