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
Ryo Onodera
b4f86cc67d
Group showing various rust toolchain versions ( #10618 )
...
* Group showing various rust toolchain versions
* Fix
2020-06-16 13:40:53 +09:00
Michael Vines
e2d46375cd
Rework buildkite pipeline construction to be more composable
2020-06-11 13:17:25 -07:00
Ryo Onodera
9d07a23c46
Run clippy before check to avoid being skipped ( #10464 )
...
* Run clippy before check to avoid being skipped
* Tweak output
* Apply a workaround
2020-06-09 12:25:39 +09:00
Ryo Onodera
704d98ac28
Use cutting-edge (=nightly) clippy for all targets ( #10463 )
...
automerge
2020-06-08 18:58:47 -07:00
Ryo Onodera
8db34474d3
Cover tests for clippy ( #10310 )
...
automerge
2020-05-29 02:00:56 -07:00
Tyera Eulberg
fac854eb9d
Remove sdk-c ( #10107 )
2020-05-18 21:04:47 -06:00
Ryo Onodera
3d8fc8a4a8
Enable cargo audit for all Cargo.lock ( #9751 )
...
* Enable cargo audit for all Cargo.lock
* Update http from 0.1.19 to 0.1.21
* Update bumpalo from 3.2.0 to 3.2.1
2020-04-28 17:43:47 +09:00
Ryo Onodera
05acd4b29f
Cargo check all targets ( #9718 )
...
automerge
2020-04-25 05:14:37 -07:00
Ryo Onodera
c856d8bdbd
Backpropagate Cargo.lock updates to all lock files ( #9180 )
...
* Experiment to backpropagate Cargo.lock updates to all lock files
* Move most of dependabot-specific code to its own file
* Various cleanups
* Fine tune..
* Clean up shells and stop obscure API...
2020-04-21 10:07:29 +09:00
sakridge
62e12e3af5
Remove unecessary exception and add a new one ( #9200 )
2020-03-31 15:58:30 -07:00
Tyera Eulberg
959c1ea857
Cargo update bumpalo ( #9067 )
...
* Cargo update bumpalo
* Remove ignore warning
2020-03-25 18:11:08 -06:00
carllin
9dc69d9843
Store and compute node/stake state in EpochStakes struct ( #8958 )
...
* Store and compute needed bank state in EpochStakes struct
2020-03-25 12:19:15 -07:00
Ryo Onodera
5d3f43c10b
Ignore RUSTSEC-2020-0006 for the moment ( #9057 )
...
automerge
2020-03-24 20:10:20 -07:00
Justin Starry
021d0a46f8
Move docs from book/ to docs/ ( #8469 )
...
automerge
2020-02-26 07:11:38 -08:00
Michael Vines
9bd6be779f
Reject CI on failed mergify.io backports ( #7927 )
...
automerge
2020-01-22 14:10:26 -08:00
Rob Walker
f5e797e3aa
cleanup test checks cargo audit ( #7849 )
...
automerge
2020-01-16 15:08:36 -08:00
Rob Walker
787e36a28f
ignore prost is part of move ( #7848 )
2020-01-16 14:14:44 -08:00
Ryo Onodera
699ca5fec1
Unignore advisories as affected ver. is corrected ( #7730 )
...
For details see upstream PR: https://github.com/RustSec/advisory-db/pull/221
2020-01-14 11:16:32 +09:00
Justin Starry
719785a8d3
Update http crate to fix security vulnerability ( #7725 )
...
* Update http to fix security vulnerability
* Ignore RUSTSEC because they incorrectly says http 0.1.21 is vulnerable
2020-01-10 04:43:02 +09:00