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
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
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
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
b06f69b08d
chore(ci): Reduce scope
2021-11-17 15:01:16 -06:00
Ed Page
26cefe2ce3
chore(ci): Update for branch renames
...
And for not running bors
2021-11-17 13:49:29 -06: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
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
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
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
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