Ryo Onodera
fc97b7d88e
Explain use of nightly clippy over whole monorepo ( #31833 )
...
* Explain use of nightly clippy over whole monorepo
ref: https://github.com/rust-lang/rust/issues/66287
* Fix typo and update link in test-checks.sh
* Incorporate review suggestions
2023-05-26 16:43:14 +09:00
Ryo Onodera
f736fcee2b
Fix indent of ./ci/test-checks.sh ( #31831 )
2023-05-26 15:22:03 +09:00
Ryo Onodera
bd8289e114
Temporarily use stable clippy for redundant_clone ( #31692 )
2023-05-17 21:09:23 +00:00
Ryo Onodera
4d4dddcaea
Update to nightly rustc to 2023-04-19 ( #31381 )
...
* Update to nightly rustc to 2023-04-19
* pray...
* Not enough pray..
* skip check...
* hope merciful shellcheck
* ci hack...
* Restore ci/test-checks.sh
* Restore debug_assertions with proper workaround...
* small cleanup
* seems this isn't needed?
* Make the workaround more robust...
* Remove now-resolved clippy exception
2023-05-11 15:48:13 +09:00
Ryo Onodera
a30830d7a9
ci: treewide: deny used_underscore_binding ( #31319 )
...
* Enforce used_underscore_binding
* Fix all
* Work around for cfg()-ed code...
* ci....
* Make clipply fixes more pleasant
* Clone exit signal while intentionally shadowing
* Use more verbose code to avoid any #[allow(...)]s
2023-04-27 10:10:16 +09:00
Yihau Chen
186b0d77f0
ci: use stable wasm-pack version in docker ( #31338 )
...
* ci: use latest wasm-pack version in docker
* print wasm-pack version in test-check.sh
2023-04-25 22:08:01 +08:00
Ryo Onodera
37576c8949
ci: show sccache version and prefix ( #31317 )
...
* ci: Show sccache version as well
* hmm, where's sccache?? (and prefix bonus)
* Use $PATH's sccache for consistency
2023-04-25 13:11:58 +09:00
Ryo Onodera
cece64daad
ci: prefer clippy::default_trait_access over shell ( #31318 )
...
Prefer clippy::default_trait_access over shell
2023-04-24 14:04:11 +09:00
Ryo Onodera
2646fb72ed
Remove workaround for already-fixed clippy bug ( #30952 )
2023-03-29 13:45:27 +09:00
Ryo Onodera
7f58345dad
ci: test-checks.sh all sbf code & use nightly only ( #30602 )
2023-03-13 14:28:34 +09:00
Yihau Chen
92b366cdd3
ci: don't print 'Checking PACKAGE_NAME...' when do cargo sorting check ( #30361 )
2023-02-17 05:21:11 +00:00
kirill lykov
8daed75df9
Add toolchain file usage ( #29370 )
...
* use cargo in cargo-for-all-lock-files.sh
* replace ./cargo with cargo in ci shell scripts
* remove ./cargo from test-stable.sh
2023-01-17 20:55:41 +01:00
Trent Nelson
c68fb5f68d
ci: remove stale clippy allows
2022-10-20 11:25:48 -07:00
Will Hickey
1359f2cea7
Add remediation to CI error message for uncommited Cargo.lock changes ( #28147 )
...
* Add remediation to CI error message for uncommited Cargo.lock changes
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
2022-10-04 11:18:20 -05:00
Brennan Watt
e4a7d01e10
Rust v1.63 ( #27303 )
...
* Upgrade to Rust v1.63.0
* Add nightly_clippy_allows
* Resolve some new clippy nightly lints
* Increase QUIC packets completion timeout
* Update quinn-udp crate
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-08-22 18:01:03 -07:00
Brennan Watt
7573000d87
Revert "Rust v1.63.0 ( #27148 )" ( #27245 )
...
This reverts commit a2e7bdf50a
.
2022-08-19 09:19:44 +01:00
Brennan Watt
a2e7bdf50a
Rust v1.63.0 ( #27148 )
...
* Upgrade to Rust v1.63.0
* Add nightly_clippy_allows
* Resolve some new clippy nightly lints
* Increase QUIC packets completion timeout
Co-authored-by: Michael Vines <mvines@gmail.com>
2022-08-17 15:48:33 -07:00
Nicholas Rempel
42eb846d52
Add cargo sort check to test-checks.sh
2022-06-24 12:41:38 -07:00
Michael Vines
f3639b76ce
Remove some clippy lints
2022-06-22 09:23:22 -07:00
Jack May
7ee7fc6f58
CI clippy and fmt for all ( #23599 )
2022-03-11 12:07:06 -08:00
Justin Starry
c97f34a0fd
Add script for running nightly rustfmt on all workspaces ( #23244 )
...
* Add script for running nightly rustfmt on all workspaces
* invalidate ci cache
2022-02-22 11:59:06 +08:00
Trent Nelson
59cd0556ef
ci: suppress cargo tree output
2021-07-16 23:00:23 -06:00
Ryo Onodera
a5b91ef4c3
Show grcov version as well ( #18549 )
2021-07-09 19:49:07 +09:00
Jack May
476fd40948
Add program-test tests to bpf programs ( #16407 )
2021-04-07 01:47:15 -07:00
Justin Starry
6cd4bc5e60
Speed up net.sh builds ( #16360 )
...
* Speed up net.sh builds
* feedback
* Update net/net.sh
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
* feedback
* fix
Co-authored-by: Trent Nelson <trent.a.b.nelson@gmail.com>
Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
2021-04-07 14:45:03 +08:00
Trent Nelson
15e1314209
ci: disallow uncommitted Cargo.lock changes
2021-03-01 21:24:57 -07:00
Trent Nelson
3c1dd891af
ci: checks - factor out audit so it can run independently
2021-03-01 21:24:57 -07:00
Trent Nelson
21f66179ba
ci: run clippy before fmt
2021-03-01 21:24:57 -07:00
Trent Nelson
ccb604f8c3
Pass audit ignores to bpf program audit
2021-03-01 21:10:46 +00:00
Trent Nelson
85252777a6
Add RUSTSEC-2020-0146 to audit ignores
2021-03-01 21:10:46 +00:00
Trent Nelson
7035e8485c
CI: Globally deny clippy::integer_arithmetic lint
2021-02-17 13:55:08 -07:00
Michael Vines
3eaa826ad9
Suppress cargo audit failure for `difference` crate, there's no newer crate to upgrade to yet
2021-01-08 20:20:34 +00:00
Trent Nelson
5617ab65d8
Revert "Ignore RUSTSEC-2020-0077 until next 1.4 release"
...
This reverts commit 1792100e2b
.
2020-12-17 01:54:22 +00:00
Michael Vines
7143aaa89b
Clippy
2020-12-14 08:03:29 -08:00
Trent Nelson
1792100e2b
Ignore RUSTSEC-2020-0077 until next 1.4 release
2020-12-11 23:44:03 +00:00
Trent Nelson
acc40b1c9e
audit: Ignore RUSTSEC-2020-0071, potential SEGV in `time`
2020-11-18 20:21:46 -07:00
Trent Nelson
7a4e293b3b
CI: Check monorepo for consistent crate versions
2020-11-06 01:32:01 +00:00
Trent Nelson
66c3c6c2b3
CI: Use branch-versioned cargo throughout
2020-11-05 05:05:57 +00:00
Michael Vines
39120b3343
Ignore stdweb
2020-10-31 18:56:20 +00:00
Michael Vines
c5e16383b0
Add everything feature
2020-10-19 17:21:52 -07:00
Michael Vines
2301dcf973
Rework cargo audit ignores
2020-10-11 18:51:09 +00:00
Trent Nelson
c9d12ad410
Revert "Ignore cargo audit RUSTSEC-2020-0008"
...
This reverts commit cd5c7f30d5
.
With bump of `jsonrpc-*` to 15.0.0, we no longer depend on `ws`
2020-09-25 19:30:47 +00:00
Jack May
cd5c7f30d5
Ignore cargo audit RUSTSEC-2020-0008
2020-09-25 09:53:13 -07:00
Michael Vines
49b7497491
Avoid `scripts/cargo-for-all-lock-files.sh check` on release branches
2020-08-31 00:40:54 -07:00
Michael Vines
d15173ad9d
Address latest nightly clippy lints, but globally disable stable_sort_primitive
2020-08-17 22:36:10 -07:00
Jack May
e2c7f446a8
Disable specialization-warnings ( #10981 )
...
* Disable specialization-warnings
* nudge
2020-07-10 11:06:10 -07:00
Ryo Onodera
39b3ac6a8d
Introduce automatic ABI maintenance mechanism (2/2; rollout) ( #8012 )
...
* Introduce automatic ABI maintenance mechanism (2/2; rollout)
* Fix stable clippy
* Change to symlink
* Freeze abi of Tower
* fmt...
* Improve dev-experience!
* Update BankSlotDelta
$ diff -u /tmp/abi8/*7dg6BreYxTuxiVz6aLvk3p2Z7GQk2cJqfGvC9h4FAoSj* /tmp/abi8/*9chBcbXVJ4fK7uGgydQzam5aHipaAKFw6V4LDFpjbE4w*
--- /tmp/abi8/bank__BankSlotDelta_frozen_abi__test_abi_digest_7dg6BreYxTuxiVz6aLvk3p2Z7GQk2cJqfGvC9h4FAoSj 2020-06-18 18:01:22.831228087 +0900
+++ /tmp/abi8/bank__BankSlotDelta_frozen_abi__test_abi_digest_9chBcbXVJ4fK7uGgydQzam5aHipaAKFw6V4LDFpjbE4w 2020-07-03 15:59:58.430695244 +0900
@@ -140,7 +140,7 @@
field u8
primitive u8
field solana_sdk::instruction::InstructionError
- enum InstructionError (variants = 34)
+ enum InstructionError (variants = 35)
variant(0) GenericError (unit)
variant(1) InvalidArgument (unit)
variant(2) InvalidInstructionData (unit)
@@ -176,6 +176,7 @@
variant(31) CallDepth (unit)
variant(32) MissingAccount (unit)
variant(33) ReentrancyNotAllowed (unit)
+ variant(34) MaxSeedLengthExceeded (unit)
variant(9) CallChainTooDeep (unit)
variant(10) MissingSignatureForFee (unit)
variant(11) InvalidAccountIndex (unit)
* Fix some merge conflicts...
2020-07-06 20:22:23 +09:00
Ryo Onodera
d8106ab552
Make test-checks.sh helpful and cargo-for-all-lock-files.sh useful ( #10906 )
2020-07-03 18:08:12 +09:00
Michael Vines
a25ea8e774
Only force up-to-date lock files on edge
2020-06-18 18:23:31 +00:00
Ryo Onodera
40ccade5cc
Update to rust 1.44.0 ( #10585 )
...
* Update rust 1.44.0
* Update rust nightly 1.46.0
* Update docs
* Fix clippy errors
* Compile all source code with stable and nightly
* Add another note
* script tweaks
* Fix a test...
* Add another workaround
* Add hack
* Increase timeout...
* Revert "Add hack"
This reverts commit 5960f087203be8792ec0728a6755288c317a2788.
* Revert "Add another workaround"
This reverts commit e14300d01ffd1b8e86e676662177545549b45c13.
* Require nightly rustfmt and use older nightly a bit
* Improve document a bit
* Revert now not-existing clippy check...
2020-06-17 01:32:16 +09:00