lighthouse/.github/workflows
Michael Sproul 1d016a83f2 Lint against panicky calls in async functions (#3250)
## Description

Add a new lint to CI that attempts to detect calls to functions like `block_on` from async execution contexts. This lint was written from scratch exactly for this purpose, on my fork of Clippy: https://github.com/michaelsproul/rust-clippy/tree/disallow-from-async

## Additional Info

- I've successfully detected the previous two issues we had with `block_on` by running the linter on the commits prior to each of these PRs: https://github.com/sigp/lighthouse/pull/3165, https://github.com/sigp/lighthouse/pull/3199.
- The lint runs on CI with `continue-on-error: true` so that if it fails spuriously it won't block CI.
- I think it would be good to merge this PR before https://github.com/sigp/lighthouse/pull/3244 so that we can lint the extensive executor-related changes in that PR.
- I aim to upstream the lint to Clippy, at which point building a custom version of Clippy from my fork will no longer be necessary. I imagine this will take several weeks or months though, because the code is currently a bit hacky and will need some renovations to pass review.
2022-06-10 04:29:27 +00:00
..
book.yml Update mdbook runner to Ubuntu 20.04 (#3138) 2022-04-04 06:08:26 +00:00
cancel-previous-runs.yml Fix short sha in github actions (#2210) 2021-02-18 06:18:47 +00:00
docker-antithesis.yml Antithesis docker workflow (#2877) 2022-01-12 20:58:41 +00:00
docker.yml Optimized Docker images (#2966) 2022-01-31 22:55:03 +00:00
linkcheck.yml Add linkcheck workflow (#2918) 2022-01-20 09:14:23 +00:00
local-testnet.yml Updates to tests and local testnet for Ganache 7 (#3056) 2022-03-20 22:48:14 +00:00
publish-crate.yml Implement SSZ union type (#2579) 2021-09-25 05:58:36 +00:00
release.yml Use windows-2019 in release CI (#3090) 2022-03-15 03:21:11 +00:00
test-suite.yml Lint against panicky calls in async functions (#3250) 2022-06-10 04:29:27 +00:00