Commit graph

142 commits

Author SHA1 Message Date
renovate[bot]
6d3f888975
chore(deps): update actions/checkout action to v4 2023-10-01 01:37:07 +00: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
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
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
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
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
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
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
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
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
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
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
ea6829b08e chore(ci): Lint small feature sets 2021-12-07 21:18:35 -06:00
Ed Page
7122b16df6 chore(ci): Document job's role 2021-12-07 17:45:57 -06:00
Ed Page
b98b95b332 chore(ci): Run pre-commit on correct branch 2021-12-07 17:45:57 -06:00
Ed Page
1d6975540c chore(ci): Run beta tests on more platforms 2021-12-07 17:45:55 -06:00
Ed Page
df258eaa31 chore(ci): Ensure we test minimum features
I was working to drop the active features across all crates, so that
when cargo unified them during `--workspace`, we'd get this for free.
Alas, it looks like its not happening.
2021-12-07 08:29:05 -06:00
Ed Page
59f9473336 chore: Make makefile easier to use 2021-12-07 08:24:13 -06:00
Ed Page
216837d688 test: Fix ui tests 2021-12-02 15:58:42 -06:00
Ed Page
8bcca687ea chore: Remove redundant CI step 2021-12-01 07:17:12 -06:00
Ed Page
b7d9787c5e chore(ci): Remove smoke build
When CI is ridiculously long, this helps cut it off early.  In our case,
this ends up being a large percentage of our CI time.
2021-11-18 12:00:24 -06:00
Ed Page
4e546dd2a1 chore: Align on boilerplate 2021-11-17 15:24:50 -06:00
Ed Page
b06f69b08d chore(ci): Reduce scope 2021-11-17 15:01:16 -06:00
Ed Page
0168dd7350 chore: Remove site 2021-11-17 13:49:59 -06:00
Ed Page
26cefe2ce3 chore(ci): Update for branch renames
And for not running bors
2021-11-17 13:49:29 -06:00
Pavan Kumar Sunkara
2ffb49ccff
Pin the zola version used to deploy the site 2021-10-29 17:07:49 +01:00
Ed Page
bfa388420b Put grouped_values_of behind a feature gate
There is enough open work on this, we should probably not have it public
yet, so putting it behind a gate.  See https://github.com/clap-rs/clap/issues/2924
2021-10-26 14:26:50 -05:00
Pavan Kumar Sunkara
585e995811 Release 3.0.0-beta.5 2021-10-17 17:01:18 +01:00
Richard Maw
f7e9bfed80 fixup! Add unstable-multicall flag to CI workflows 2021-10-15 20:27:29 +01:00
Pavan Kumar Sunkara
49aaa5ab0b chore: CI improvements 2021-10-09 19:50:16 +01:00
Ed Page
dfbeb71077 fix: Gate App::replace
We are concerned about the level of polish of this feature and are
unsure enough about its future, we've decided to gate it to unblock the
v3 release.
2021-10-09 10:49:10 -05:00
Ed Page
598b87196a fix(ci): Restore serialization of site deployment
When removing `concurrency`, I overlooked this case where we want to
serialize deployments.

Queuing deployments also doesn't give us much.  I switched from using an
action for this to using built-in support.
2021-10-08 09:23:35 -05:00
Ed Page
63275d3f13 Speed up PR feedback
This drops us down to just a handlful of jobs, allowing us full
parallelism (github caps max parallel jobs).  This is dependent on us
using bors to run the "ci" before merging into master.

There is a balance in what to run.  We should consider what is most
likely to break for the widest variety of PRs.  Contributors that expect
an uncovered case to fail can always specify `@bors try`

Motivation
- Mac is similar enough to Linux, we only need to run one of them and
  Linux has more parallel runners on Github.
- Since we deal with `OsStr`, test Windows because its different than
  the others.
- People are most likely to make changes on `stable` and break support
  for MSRV, so we should verify that
- Still test on `stable` to not block feedback if we run into problems
  with dependencies and our MSRV run.
- On the other hand, beta and nightly are less likely to break on an
  individual PR
- Remove benchmarks because most changes are not performance sensitive
  and we aren't looking at the results enough to justify a 30 minute run.

Fixes #2801
2021-10-07 09:02:28 -05:00
Ed Page
29a6a854f1 fix(ci): Don't have PRs canceling each others jobs
Using `head_ref`, we are making it so PRs are all in the same group.
When a new PR comes in (not just an update), it then cancels all other
PRs.  Switching to `ref` makes it so each PR is in its own concurrency
group.
2021-10-06 19:16:55 -05:00
Pavan Kumar Sunkara
52be134949 Release 3.0.0-beta.4
clap@3.0.0-beta.4
clap_derive@3.0.0-beta.4
clap_generate@3.0.0-beta.4

Generated by cargo-workspaces
2021-08-14 23:40:49 +01:00
Pavan Kumar Sunkara
73b28fb104 Release 3.0.0-beta.3
clap@3.0.0-beta.3
clap_derive@3.0.0-beta.3
clap_generate@3.0.0-beta.3

Generated by cargo-workspaces
2021-08-14 23:01:13 +01:00
liudingming
a711fc3cf2 Use llvm-cov for more accurate coverage report 2021-08-01 15:11:27 +08:00
Ed Page
241d183b9c Bump MSRV to 1.54.0
- This makes it so `doc` compiles on stable

Fixes #2618
2021-07-30 10:19:21 +01:00
Pavan Kumar Sunkara
5c9cd1afdf Update CI 2021-05-25 23:42:55 +01:00
Pavan Kumar Sunkara
f42495d552 Improve cancelling of previous runs 2021-04-13 22:49:19 +01:00
Pavan Kumar Sunkara
99d4aba95c Remove azure pipelines 2021-04-13 22:46:24 +01:00
Pavan Kumar Sunkara
e20c0c7a5d Get github ci for working for mingw 2021-04-13 22:20:05 +01:00
Pavan Kumar Sunkara
d3b6c1b3f9 Update github workflow for site 2021-04-04 00:40:28 +01:00
Pavan Kumar Sunkara
49954c28ad Remove unstable feature flag 2021-03-13 11:40:56 +05:30
ldm0
2d26f02605 Add --all-features for CI, fix build with debug feature. 2021-02-17 04:37:08 +00:00
ldm0
5997626c41 Fix CI on i686-unknown-linux-gnu 2021-02-12 04:41:29 +00:00
Pavan Kumar Sunkara
db3f10c8c4
Fix CI for i686 ubuntu 2020-12-25 22:09:27 +00:00
Pavan Kumar Sunkara
b89163afb6 Update MSRV to 1.46 2020-11-28 11:58:28 +00:00
Pavan Kumar Sunkara
8d037452c7 Added clap.rs site 2020-11-14 00:39:23 +01:00
Pavan Kumar Sunkara
93bad33e48 Updated changelog and more dep upgrade logic 2020-11-13 03:08:09 +01:00
Pavan Kumar Sunkara
469aacda7e Move more to github ci 2020-11-06 21:02:06 +01:00
Pavan Kumar Sunkara
b27cd6e171 Move lint ci to github 2020-10-09 23:06:18 +02:00
Pavan Kumar Sunkara
b931e25c79 Update MSRV to 1.42 2020-10-09 17:04:46 +02:00
Pavan Kumar Sunkara
d881a1185b Release 3.0.0-beta.2
clap@3.0.0-beta.2
clap_derive@3.0.0-beta.2
clap_generate@3.0.0-beta.2

Generated by cargo-workspaces
2020-09-18 20:32:41 +02:00
Pavan Kumar Sunkara
9e381f92a9 Rename required_unless_eq_* to required_unless_present_* 2020-08-29 11:48:35 +02:00
Pavan Kumar Sunkara
74a7eed123 Update criterion away from fork 2020-04-26 16:12:04 +02:00
Pavan Kumar Sunkara
b3a67a31d8 Take all the GA statuses into one final status 2020-04-21 09:45:59 +02:00
Pavan Kumar Sunkara
abc2ada63f Use github actions for windows 2020-04-21 00:16:32 +02:00
Pavan Kumar Sunkara
9d5de69249 Update Cargo.toml 2020-04-20 16:11:30 +02:00
Pavan Kumar Sunkara
3e45cb26ab Improve cache steps in github actions 2020-04-20 16:11:30 +02:00
Pavan Kumar Sunkara
ee4383f2dc Testing benchmark annotations 2020-04-13 16:21:02 +02:00
Pavan Kumar Sunkara
510f4cc055
Don't run actions on some events
push(master) is not run because they would be run on staging anyway.

pull_request(staging, trying) are not run because pull requests shouldn't be made to them
2020-04-10 19:50:12 +02:00
Pavan Kumar Sunkara
9388a099ef Improvements to github actions 2020-04-10 17:19:26 +02:00
Pavan Kumar Sunkara
b8e1a1aa77 Fix benchmarks to not use fork anymore 2020-03-18 13:17:31 +01:00
Pavan Kumar Sunkara
eaae1202cb Basic github action for benchmarking 2020-03-05 09:21:39 +01:00