ci: use larger runner for macos stable clippy (#34745)

This commit is contained in:
Yihau Chen 2024-01-11 23:51:57 +08:00 committed by GitHub
parent 166be2995e
commit e31a45ad0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -30,7 +30,7 @@ jobs:
strategy: strategy:
matrix: matrix:
os: os:
- macos-latest - macos-latest-large
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4

View File

@ -61,7 +61,9 @@ pull_request_rules:
- or: - or:
- -files~=(\.rs|Cargo\.toml|Cargo\.lock|\.github/scripts/cargo-clippy-before-script\.sh|\.github/workflows/cargo\.yml)$ - -files~=(\.rs|Cargo\.toml|Cargo\.lock|\.github/scripts/cargo-clippy-before-script\.sh|\.github/workflows/cargo\.yml)$
- and: - and:
- check-success=clippy-stable (macos-latest) - or:
- check-success=clippy-stable (macos-latest)
- check-success=clippy-stable (macos-latest-large)
- or: - or:
- check-success=clippy-nightly (macos-latest) - check-success=clippy-nightly (macos-latest)
- check-success=clippy-nightly (macos-latest-large) - check-success=clippy-nightly (macos-latest-large)