Commit graph

245 commits

Author SHA1 Message Date
Ed Page
1313256db3 chore(ci): Use latest for coverage 2024-02-08 09:07:52 -06:00
Ed Page
da56001fd6 chore(ci): Gather coverage 2024-02-08 07:48:29 -06:00
Ed Page
9a5af5c8d2 chore(ci): Only check intel mac on schedule 2024-02-08 07:45:48 -06:00
Ed Page
131de55d50 chore(ci): Add m1 runners
See https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/
2024-01-31 12:07:12 -06:00
Ed Page
0b029063fe chore(ci): Be explicit in renovate updates 2024-01-24 08:40:56 -06:00
Ed Page
e819db4af6 chore(ci): Cancel prior CI runs 2024-01-18 09:22:25 -06:00
Ed Page
641b42b2e8 chore(ci): Speed up critical path of CI
We've decided to try using some of our funding to speed up CI.
kbknapp has experience with buildjet in the past which allows us to keep
our Actions and switch out our runners.

As we are charged for `num_cores * time`, increasing core counts could
decrease time, both helping us and keeping costs down.
I chose 8 cores (an upgrade over `ubuntu-latest`s 2 cores) as kbknapp
knew someone who benchmarked things for Rust/Python and found that a
good fit.

I only switched a subset of jobs over to buildjet to focus on jobs where
most of the time is spent on highly parallelizable operations.
Buildjet dropped our Linux test jobs from 8-9min to 2-3min.
The checks and UI-test jobs only improved by 30s-1min each, so I left
them out.
We can iterate as we go.
2024-01-08 09:58:56 -06:00
Ed Page
61250a3613 chore(ci): Optimize CI runs 2024-01-03 08:27:59 -06:00
Ed Page
a4c062667d chore: Make renovate commits to match 2024-01-02 09:56:35 -06:00
Ed Page
739d2cfa9d
Merge pull request #13 from epage/renovate/github-codeql-action-3.x
chore(deps): update github/codeql-action action to v3
2024-01-01 18:39:28 -06:00
renovate[bot]
b8cc5087e9
chore(deps): update actions/setup-python action to v5 2024-01-01 01:30:29 +00:00
renovate[bot]
82c9aa7bdd
chore(deps): update github/codeql-action action to v3 2024-01-01 00:59:58 +00:00
renovate[bot]
69fa0268a4
chore(deps): update actions/setup-python action to v5 2024-01-01 00:59:55 +00:00
Ed Page
cf7a0272cc chore: Update from '_rust/main' 2023-12-04 11:05:47 -06:00
renovate[bot]
598c624498 chore(config): migrate config .github/renovate.json5 2023-12-03 09:19:35 +00:00
Ed Page
bac82ef6de chore: Update from '_rust/main' 2023-10-05 14:52:37 -05:00
Ed Page
5e3b324b5e chore(ci): Ensure MSRV is quoted
Switching from specifying patch to not, with a minor version with a
trailing zero, is causing YAML to convert `1.70` to `1.7`.
2023-10-05 14:41:40 -05:00
renovate[bot]
061432acab
chore(deps): update actions/checkout action to v4 2023-10-01 01:38:02 +00:00
renovate[bot]
6d3f888975
chore(deps): update actions/checkout action to v4 2023-10-01 01:37:07 +00:00
Ed Page
a1af8d9ad8 chore: Update from '_rust/main' 2023-09-26 08:22:27 -05:00
Ed Page
ac51f09250 chore(ci): Normalize json5 syntax 2023-09-26 08:16:47 -05:00
Ed Page
86c29dea38 chore(ci): Updaet Renovate schema 2023-09-26 08:16:33 -05:00
Ed Page
cb2d2bcf07 chore: Update from '_rust/main' 2023-09-20 09:24:25 -05:00
Ed Page
4173c8f476 chore(ci): Don't set patch for MSRV 2023-09-20 09:05:41 -05:00
Ed Page
813298e4fe chore(ci): Revert experiments 2023-09-20 09:04:52 -05:00
Ed Page
9aabb43e01 chore(ci): Ensure derive_ui gets partially updated 2023-09-20 09:02:55 -05:00
Ed Page
12bd7194b3 chore(ci): Ensure Makefile gets updated 2023-09-20 08:59:51 -05:00
Ed Page
d284d1e5a5 chore(ci): Experiment with dropping MSRV patch 2023-09-20 08:56:04 -05:00
Ed Page
fabe1f28ad chore(ci): Experiment with dropping MSRV patch 2023-09-20 08:37:01 -05:00
Ed Page
11c2f86c93 chore(ci): Experiment with dropping MSRV patch 2023-09-20 08:30:56 -05:00
Ed Page
70ac5e2274 chore(ci): Test MSRV update 2023-09-20 08:27:52 -05:00
Ed Page
8f4c2bfc38 chore(ci): Don't set patch field 2023-09-20 08:23:40 -05:00
Ed Page
7f5eac7bb6 chore(gh): Ensure we can test latest deps 2023-09-05 09:55:21 -05:00
Ed Page
d30d94f51c chore: Update MSRV to 1.70 2023-08-24 10:14:23 -05:00
Ed Page
44604fc1d3 chore(renovate): Try to fix schedule 2023-08-23 09:35:47 -05:00
Ed Page
c8624f0538 chore(renovate): Update MSRV on release 2023-08-23 09:24:15 -05:00
Ed Page
0a87008799 chore: Update from '_rust/main' template 2023-08-22 11:16:07 -05:00
Ed Page
a6ecf92327 chore(renovate): Update config 2023-08-22 11:07:34 -05:00
Ed Page
efe14d6089 chore(renovate): Make style consistent 2023-08-22 11:06:55 -05:00
Ed Page
063b153628 chore: Update from '_rust/main' template 2023-08-11 16:14:18 -05:00
Ed Page
ba76b8bd91 chore(ci): Ensure latest deps are good 2023-08-11 13:29:06 -05:00
Ed Page
67eb1d9e3d chore(ci): Ensure lockfile isn't stale 2023-08-07 16:16:17 -05:00
Ed Page
d6075a44bf chore: Expand update window so more likely to be hit 2023-08-02 11:11:52 -05:00
Ed Page
364114743f docs(gh): Improve grep suggestion 2023-07-31 16:35:03 -05:00
Roland Fredenhagen
505046bf88
chore(ci): Test dynamic completions 2023-07-27 19:44:55 +07:00
Ed Page
2b6bb28cd1 chore(ci): Catch clippy config failures 2023-05-18 14:58:59 -05:00
Ed Page
716170eaa8 chore(gh): Ban rebase merges 2023-04-17 20:13:36 -05:00
Ed Page
7bff552156 chore(gh): Enable more settings 2023-04-17 20:12:27 -05:00
Ed Page
8b4b440cb8 chore: Update from '_rust/main' template 2023-04-17 12:38:16 -05:00
Ed Page
afaba35d39 chore(ci): Use new minimumReleaseAge field 2023-04-17 09:54:21 -05:00
Ed Page
d99db2e632 style(ci): Match auto-generated style 2023-04-17 09:54:05 -05:00
Ed Page
62401b8eaf chore(ci): Lower the MSRV churn for template 2023-04-17 09:05:31 -05:00
Ed Page
2c4a7f574f chore(ci): Delay Renovate PRs until ready 2023-04-17 09:02:40 -05:00
Ed Page
563de12d25 chore(ci): Update stabilidyDays to new syntax 2023-04-17 09:01:54 -05:00
Ed Page
4163ad78c7 style(ci): Match auto-generated style
This will make reviewing auto-update PRs easier
2023-04-17 08:51:48 -05:00
Ed Page
f7b990b803 fix(ci): Fix Renovate regexes 2023-04-17 08:50:19 -05:00
Ed Page
376ae678a4 chore: Update from '_rust/main' template 2023-03-30 01:22:54 -05:00
Ed Page
037f37906d chore(ci): Remove rustfmt/clippy next jobs 2023-03-29 15:07:09 -05:00
Ed Page
afeff23549 chore(ci): Quote strings in yaml 2023-03-29 14:41:29 -05:00
renovate[bot]
fbaab420b9
chore(deps): update msrv to v1.65.0 2023-04-01 00:32:08 +00:00
Ed Page
e7b7555d15 chore: First step 2023-03-29 14:33:22 -05:00
Ed Page
a2f500e440 chore(ci): Switch to cargo-deny 2023-03-18 12:46:33 -05:00
Kevin Matthes
b8021a2a71
test: Add CFF Validation
The CITATION.cff is validated with the official GitHub Action.
2023-03-09 16:55:30 +01:00
Ed Page
f25fe5b3e0 chore: Bump MSRV to 1.64.0 2023-01-09 12:29:41 -06:00
Ed Page
2ef5ecd15a chore(ci): Force setting of toolchain target 2023-01-03 09:04:11 -06:00
Ed Page
a9ccb2641c chore(ci): Update renovate 2022-12-05 09:36:14 -06:00
Ed Page
caf540918f
Merge pull request #4537 from clap-rs/renovate/swatinem-rust-cache-2.x
chore(deps): update swatinem/rust-cache action to v2
2022-12-01 16:14:41 -06:00
Ed Page
6b816c7f52
Merge pull request #4536 from clap-rs/renovate/actions-setup-python-4.x
chore(deps): update actions/setup-python action to v4
2022-12-01 16:14:35 -06:00
Ed Page
dd0f8e38fe chore: Iterate on renovate 2022-12-01 15:29:31 -06:00
renovate[bot]
a306b4d110
chore(deps): update swatinem/rust-cache action to v2 2022-12-01 18:13:33 +00:00
renovate[bot]
1b975cc22b
chore(deps): update actions/setup-python action to v4 2022-12-01 18:13:27 +00:00
Ed Page
388e1f09e7 chore: Switch to renovate 2022-12-01 11:23:46 -06:00
Alex
e03201efbe
fix: Permissions syntax 2022-09-18 18:55:47 +01:00
Alex
efc49747e7 chore: Update audit.yml 2022-09-17 15:22:06 +03:00
sashashura
5a563db76a chore: Set permissions 2022-08-28 01:50:11 +03:00
Ed Page
a5494573af chore(ci): Lock docs to MSRV
This will help avoid issues with new warnings
2022-08-12 08:24:15 -05:00
Ed Page
3390adf0d3 chore: Bump MSRV to 1.60.0
While at it, this cleans up all of the features.  For some reason, I
couldn't do `dep:clap_derive` though.
2022-08-10 21:32:06 -05:00
Ed Page
16bd759904 chore(gh): Start v3 development 2022-07-21 12:30:15 -05:00
Ed Page
0eeb4da33d chore(gh): Prepare for more branches to be added 2022-07-21 12:19:23 -05:00
dependabot[bot]
5ba845ab6f
chore(deps): bump pre-commit/action from 2.0.3 to 3.0.0
Bumps [pre-commit/action](https://github.com/pre-commit/action) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases)
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0)

---
updated-dependencies:
- dependency-name: pre-commit/action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-01 03:05:59 +00:00
Ed Page
82d70d82c4 chore: Bump MSRV from 1.56.0 to 1.56.1
Being a patch release, I'm fine doing this outside of a minor release.
This avoids us having to deal with indexmap having a higher MSRV.
2022-06-17 09:01:45 -05:00
Ed Page
d56d8dd59e chore: Make it easy to reproduce CI docs run 2022-06-04 12:58:53 -05:00
Ed Page
4a733cd879 fix: Bump MSRV to 1.56.0
This is needed for `Bound::cloned` and fits within official MSRV policy
(2 versions back) and unofficial (6 months, see #3267)
2022-05-17 17:13:08 -05:00
Liu Dingming
1b63fbd6df feat(derive): Start unstable-v4 feature flag
This is split out of #3661 as several changes I'm working on need it.
2022-05-06 14:56:55 -05:00
dependabot[bot]
269cde50d5
chore(deps): bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 13:09:07 +00:00
dependabot[bot]
a377f60011
chore(deps): bump actions/setup-python from 2 to 3
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 2 to 3.
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](https://github.com/actions/setup-python/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/setup-python
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-05-04 12:54:13 +00:00
Ed Page
cd102a29ea
Merge pull request #3685 from turrisxyz/feat/dependabot-github-actions
chore: Included githubactions in the dependabot config
2022-05-04 07:53:41 -05:00
naveensrinivasan
fcd78724f8
chore: Included githubactions in the dependabot config
This should help with keeping the GitHub actions updated on new releases. This will also help with keeping it secure.

Dependabot helps in keeping the supply chain secure https://docs.github.com/en/code-security/dependabot

GitHub actions up to date https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot

https://github.com/ossf/scorecard/blob/main/docs/checks.md#dependency-update-tool
Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-05-03 21:36:38 -05:00
naveensrinivasan
45c8b67cdb
Set permissions for GitHub actions
- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

 Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-15 14:51:52 +00:00
Ed Page
4161b16f2b chore(ci): Run on documentation changes 2022-03-23 12:37:19 -05:00
Roland Fredenhagen
33949ce4de
feat(help): Show PossibleValue help in --help (#3503)
`-h` (short help) still shows the same.

This gates it behind an `unstable-v4` feature flag to avoid disrupting users who set the help without knowing where all it shows up (particularly derive users where `ArgEnum` is automatically extracting the help).

Fixes #3312
2022-03-02 09:15:28 -06:00
Ed Page
15f43f871a refactor(ci): Move ui tests to Makefile 2022-02-23 09:03:18 -06:00
Caleb Maclennan
3e1c819b8a
chore(gh): Update list of crates in scope of issue tracker 2022-02-08 16:57:45 +03:00
Ed Page
5674587eb2 docs: Try to steer people to better practices 2022-02-05 09:18:05 -06:00
Ed Page
a01b0c813c chore(gh): Automate release creation 2022-01-01 12:43:24 -06:00
Ed Page
da0fe8f325 chore(ci): Lint release builds 2021-12-13 09:28:42 -06:00
Ed Page
dbd127fad9 chore(ci): Stop using all features
We might enable some nightly-only features
2021-12-08 20:37:53 -06:00
Ed Page
da2f70d056 chore(gh): Plan for a new label 2021-12-08 19:19:31 -06:00
Ed Page
02ed10b0f1 chore(gh): Temp move to old Issue templates
They aren't working for me.
2021-12-08 14:48:47 -06:00
Ed Page
2398b73fea chore(gh): Update labels 2021-12-08 14:43:26 -06:00