File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -109,11 +109,15 @@ test-dylint:
109109 stage : test
110110 << : *docker-env
111111 script :
112+ # We need to fix this test to a toolchain because of the UI tests
113+ # We can't use stable here because the UI tests freak out if there are dots in the drivers file name
114+ - rustup default nightly-2022-06-30
115+ - rustup component add rustfmt clippy rust-src rustc-dev llvm-tools-preview
116+
112117 - rusty-cachier snapshot create
113118 - cd ink_linting/
114119 - mv _Cargo.toml Cargo.toml
115120
116- - export RUSTC_BOOTSTRAP=1
117121 - cargo check --verbose
118122 - cargo +nightly fmt --verbose --all -- --check
119123 - cargo clippy --verbose -- -D warnings;
Original file line number Diff line number Diff line change @@ -13,5 +13,8 @@ cargo build --release
1313
1414# Run the linting on a contract.
1515DYLINT_LIBRARY_PATH=$PWD /target/release cargo dylint contract_instantiated
16- --manifest-path ../ink/examples/erc20/Cargo.toml
17- ```
16+ --manifest-path ../ink/examples/erc20/Cargo.toml
17+
18+ # The UI tests are written against a specific toolchain version. If you wish to run them locally:
19+ cargo +nightly-2022-06-30 test
20+ ```
You can’t perform that action at this time.
0 commit comments