Skip to content

Commit

Permalink
Fix ui tests in CI which now print snippets from standard library
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 5, 2023
1 parent bbc25f7 commit 9c56a21
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: ${{matrix.rust}}
components: rust-src
- name: Determine test suite subset
# Our Windows and macOS jobs are the longest running, so exclude the
# relatively slow compiletest from them to speed up end-to-end CI time,
Expand Down Expand Up @@ -83,6 +84,8 @@ jobs:
with:
submodules: true
- uses: dtolnay/rust-toolchain@stable
with:
components: rust-src
- uses: dtolnay/install-buck2@latest
- name: Install lld
run: sudo apt-get install lld
Expand Down Expand Up @@ -124,7 +127,9 @@ jobs:
timeout-minutes: 45
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@clippy
- uses: dtolnay/rust-toolchain@nightly
with:
components: clippy, rust-src
- run: cargo clippy --workspace --tests -- -Dclippy::all

clang-tidy:
Expand Down
2 changes: 2 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[toolchain]
components = ["rust-src"]

0 comments on commit 9c56a21

Please sign in to comment.