bevy/.github/workflows
eri 5f8f3b532c
Check cfg during CI and fix feature typos (#12103)
# Objective

- Add the new `-Zcheck-cfg` checks to catch more warnings
- Fixes #12091

## Solution

- Create a new `cfg-check` to the CI that runs `cargo check -Zcheck-cfg
--workspace` using cargo nightly (and fails if there are warnings)
- Fix all warnings generated by the new check

---

## Changelog

- Remove all redundant imports
- Fix cfg wasm32 targets
- Add 3 dead code exceptions (should StandardColor be unused?)
- Convert ios_simulator to a feature (I'm not sure if this is the right
way to do it, but the check complained before)

## Migration Guide

No breaking changes

---------

Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
2024-02-25 15:19:27 +00:00
..
action-on-PR-labeled.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci-comment-failures.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00
ci.yml Check cfg during CI and fix feature typos (#12103) 2024-02-25 15:19:27 +00:00
daily.yml Bump actions/upload-artifact from 2 to 4 (#11014) 2023-12-24 00:34:02 +00:00
dependencies.yml finish cleaning up dependency bans job (#11059) 2023-12-23 17:36:24 +00:00
docs.yml documentation in CI: remove lock file (#11507) 2024-01-24 17:28:29 +00:00
post-release.yml Bump peter-evans/create-pull-request from 5 to 6 (#11712) 2024-02-09 06:01:31 +00:00
release.yml Bump peter-evans/create-pull-request from 5 to 6 (#11712) 2024-02-09 06:01:31 +00:00
validation-jobs.yml run examples on macOS to validate PRs (#11630) 2024-01-31 20:03:47 +00:00
welcome.yml Bump actions/github-script from 6 to 7 (#10653) 2023-11-20 09:01:27 +00:00