Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 4 additions & 33 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -158,20 +158,11 @@ jobs:
TARGET: ${{ matrix.target }}
BUILD_PROFILE: ${{ matrix.mode }}
run: bash ci/run.bash
- name: Run cargo check
if: matrix.mode != 'release'
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
cargo check --all --all-targets --features test
git -c core.quotePath=false ls-files -- '*.rs' | ForEach-Object {
(Get-Item -LiteralPath $_).LastWriteTime = Get-Date
}
- name: Run cargo clippy
if: matrix.mode != 'release' && matrix.mingwdir == ''
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -358,20 +349,11 @@ jobs:
TARGET: ${{ matrix.target }}
BUILD_PROFILE: ${{ matrix.mode }}
run: bash ci/run.bash
- name: Run cargo check
if: matrix.mode != 'release'
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
cargo check --all --all-targets --features test
git -c core.quotePath=false ls-files -- '*.rs' | ForEach-Object {
(Get-Item -LiteralPath $_).LastWriteTime = Get-Date
}
- name: Run cargo clippy
if: matrix.mode != 'release' && matrix.mingwdir == ''
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -564,20 +546,11 @@ jobs:
TARGET: ${{ matrix.target }}
BUILD_PROFILE: ${{ matrix.mode }}
run: bash ci/run.bash
- name: Run cargo check
if: matrix.mode != 'release'
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
cargo check --all --all-targets --features test
git -c core.quotePath=false ls-files -- '*.rs' | ForEach-Object {
(Get-Item -LiteralPath $_).LastWriteTime = Get-Date
}
- name: Run cargo clippy
if: matrix.mode != 'release' && matrix.mingwdir == ''
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
Expand Down Expand Up @@ -1580,10 +1553,8 @@ jobs:
run: |
rustup toolchain install nightly --profile=minimal -c=rustfmt
cargo +nightly xfmt --check
- name: Run cargo check and clippy
- name: Run cargo clippy
run: |
cargo check --all --all-targets --features test
git ls-files -- '*.rs' | xargs touch
cargo clippy --all-targets --all-features -- -D warnings
# This is ci/actions-templates/all-features-template.yaml
# Do not edit this file in .github/workflows
Expand Down
4 changes: 1 addition & 3 deletions ci/actions-templates/centos-fmt-clippy-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@ jobs: # skip-all
run: |
rustup toolchain install nightly --profile=minimal -c=rustfmt
cargo +nightly xfmt --check
- name: Run cargo check and clippy
- name: Run cargo clippy
run: |
cargo check --all --all-targets --features test
git ls-files -- '*.rs' | xargs touch
cargo clippy --all-targets --all-features -- -D warnings
11 changes: 1 addition & 10 deletions ci/actions-templates/windows-builds-template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -149,20 +149,11 @@ jobs: # skip-main skip-pr skip-stable
TARGET: ${{ matrix.target }}
BUILD_PROFILE: ${{ matrix.mode }}
run: bash ci/run.bash
- name: Run cargo check
if: matrix.mode != 'release'
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
cargo check --all --all-targets --features test
git -c core.quotePath=false ls-files -- '*.rs' | ForEach-Object {
(Get-Item -LiteralPath $_).LastWriteTime = Get-Date
}
- name: Run cargo clippy
if: matrix.mode != 'release' && matrix.mingwdir == ''
env:
TARGET: ${{ matrix.target }}
# os-specific code leads to lints escaping if we only run this in one target
run: |
rustup component add clippy
cargo clippy --all-targets --all-features -- -D warnings
Expand Down
Loading