Daira-Emma Hopwood
28ce1896b6
Adjust CI policy:
...
* Only require tests to pass on Linux.
* Remove the confusing and unnecessary "NOT_A_PUZZLE" state.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-09 22:52:49 +00:00
Daira-Emma Hopwood
8b3393ae9f
Rename required checks task for audits, so that it can be distinguished
...
from the status checks task.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-09 22:29:46 +00:00
Daira-Emma Hopwood
4143742117
Include `extra_flags: orchard` in NU7 state.
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-09 21:35:23 +00:00
Daira-Emma Hopwood
d34d84380e
Move expensive tests to another task. fixes #1639
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-12-09 21:29:39 +00:00
dependabot[bot]
3e68988976
build(deps): bump codecov/codecov-action from 4.6.0 to 5.1.1
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.6.0 to 5.1.1.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.6.0...v5.1.1 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-12-06 05:44:20 +00:00
Kris Nuttycombe
62fb4e4cf8
zcash_client_sqlite: Change `WalletDb::AccountId` associated type to `AccountUuid`
...
This requires a few annoying changes to migrations in order to avoid
hitting cases where account UUIDs are expected before they exist in the
database schema.
2024-12-02 15:46:36 -07:00
Daira-Emma Hopwood
5672b307b6
Have `cargo` use `RUST_BACKTRACE=1` by default in this workspace
...
(instead of only in CI), so that there is no need to set it manually.
You can override this by setting `RUST_BACKTRACE=0`, or
`RUST_BACKTRACE=full` for a full backtrace.
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-11-02 18:44:53 +00:00
Daira-Emma Hopwood
a7cdf8d4ee
CI: Use new test profile.
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-11-02 18:35:12 +00:00
Daira-Emma Hopwood
35b8c0d781
CI: Run tests with `RUST_BACKTRACE=1`. fixes #1602
...
Signed-off-by: Daira-Emma Hopwood <daira@jacaranda.org>
2024-11-02 18:35:12 +00:00
Jack Grigg
56fa0b882f
CI: Start testing NU7 instead of NU6
2024-10-26 00:09:21 +00:00
Jack Grigg
bb01681b22
CI: Fix book rendering
2024-10-26 00:08:45 +00:00
Jack Grigg
a4bfec7163
CI: Add jobs that check required status checks for success
...
This enables us to add a single "required status check" to the GitHub
repo settings, that covers all required matrix job cases.
2024-10-26 00:07:58 +00:00
Kris Nuttycombe
88e1394794
Add `merge_group:` trigger to CI workflow.
2024-10-25 09:52:11 -06:00
Jack Grigg
69b590a49f
Update cargo vet after crate release
2024-10-22 03:53:53 +00:00
dependabot[bot]
982bcf8fbc
build(deps): bump codecov/codecov-action from 4.5.0 to 4.6.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.5.0...v4.6.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 05:03:34 +00:00
dependabot[bot]
6ad68ee0ef
build(deps): bump EmbarkStudios/cargo-deny-action from 1 to 2
...
Bumps [EmbarkStudios/cargo-deny-action](https://github.com/embarkstudios/cargo-deny-action ) from 1 to 2.
- [Release notes](https://github.com/embarkstudios/cargo-deny-action/releases )
- [Commits](https://github.com/embarkstudios/cargo-deny-action/compare/v1...v2 )
---
updated-dependencies:
- dependency-name: EmbarkStudios/cargo-deny-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-05 05:37:53 +00:00
Jack Grigg
270eec2574
CI: Don't test `zcash_client_backend/lightwalletd-tonic` on WASM
...
Broken until hyperium/tonic#1783 is addressed.
2024-07-11 18:09:49 -07:00
dependabot[bot]
40166fa7e1
build(deps): bump codecov/codecov-action from 4.3.0 to 4.5.0
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 4.3.0 to 4.5.0.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v4.3.0...v4.5.0 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-06-14 05:58:50 +00:00
Jack Grigg
7bd1cd1a2b
CI: Migrate to `codecov/codecov-action@v4.3.0`
2024-04-29 15:15:05 +00:00
Jack Grigg
e4c51c30f6
CI: Add explicit token to GitHub CLI usage
2024-04-26 20:08:20 +00:00
Jack Grigg
c2ed829ec5
CI: Add workflow to automatically trigger audit aggregation
2024-04-26 19:15:33 +00:00
Jack Grigg
011909d609
CI: Add audit check for `cargo deny check licenses`
2024-04-23 00:34:03 +00:00
Jack Grigg
08cd7e20bd
CI: Add audit check for `cargo vet`
2024-04-23 00:31:02 +00:00
str4d
3877c38a2c
Merge pull request #1343 from zcash/dependabot/github_actions/peaceiris/actions-gh-pages-4
...
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
2024-04-18 15:20:42 +01:00
dependabot[bot]
5cf83c5a44
build(deps): bump supplypike/setup-bin from 3 to 4
...
Bumps [supplypike/setup-bin](https://github.com/supplypike/setup-bin ) from 3 to 4.
- [Release notes](https://github.com/supplypike/setup-bin/releases )
- [Commits](https://github.com/supplypike/setup-bin/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: supplypike/setup-bin
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-10 05:56:09 +00:00
dependabot[bot]
b42b4984ad
build(deps): bump peaceiris/actions-gh-pages from 3 to 4
...
Bumps [peaceiris/actions-gh-pages](https://github.com/peaceiris/actions-gh-pages ) from 3 to 4.
- [Release notes](https://github.com/peaceiris/actions-gh-pages/releases )
- [Changelog](https://github.com/peaceiris/actions-gh-pages/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-gh-pages/compare/v3...v4 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-gh-pages
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-04-09 05:52:08 +00:00
Jack Grigg
7f017bc126
CI: Test with `sync` feature flag
2024-04-02 00:37:16 +00:00
Kris Nuttycombe
bda72e36eb
Put expensive tests behind an additional `expensive-tests` feature flag.
2024-03-25 13:27:42 -06:00
Jack Grigg
b189fe7a36
Remove `orchard` feature flag from behind `zcash_unstable` cfg flag
2024-03-19 18:24:39 +00:00
Willem Olding
1775f6525b
Add WASM support to `lightwalletd-tonic` feature flag ( #1270 )
...
The transport-specific code is moved behind a new `lightwalletd-tonic-transport` feature flag.
2024-03-15 11:58:13 +00:00
Jack Grigg
6898dbf094
Replace `unstable-nu6` and `zfuture` feature flags with cfg flags
...
Neither of these should have been feature flags, as they gate breaking
changes to the Zcash consensus rules (and in some ways are incompatible
with each other), while feature flags should be additive.
2024-03-10 18:42:39 +00:00
Jack Grigg
98c82eb6c6
CI: Stop actively testing ZFuture and instead just check it builds
2024-03-10 18:03:50 +00:00
Jack Grigg
93048c6c46
CI: Separate test "state" from the feature flags activated by it
2024-03-10 18:01:33 +00:00
Jack Grigg
10e1bb6001
CI: Continue tests on error if test failures are in an unstable flag
2024-03-10 01:26:06 +00:00
Jack Grigg
b8b19dfe11
CI: Trigger on pushes to `main` branch
2024-03-08 23:41:50 +00:00
Jack Grigg
e4a8b3abd4
CI: Remove timeouts from rustfmt and clippy
2024-03-08 22:01:48 +00:00
Jack Grigg
f12b2b5a1f
CI: Add caching
2024-03-08 21:23:28 +00:00
Jack Grigg
46f2815ad3
CI: Only run CI workflow once per PR
...
The previous configuration would run CI twice for every PR, on:
- The merge commit with the base branch.
- The tip commit of the PR branch.
The latter is only useful for debugging. However, we still want to run
CI directly on the `main` branch, to ensure that any PRs with runtime
conflicts but not code conflicts get tested in combination.
2024-03-08 20:35:04 +00:00
Jack Grigg
e7be194912
CI: Use faster Ubuntu and Windows runners for testing
2024-03-08 20:35:04 +00:00
Jack Grigg
85095af96e
CI: Also set `RUSTDOCFLAGS`
...
`rustdoc` doesn't support all the same flags as `rustc`, so it doesn't
listen to `RUSTFLAGS` and has its own env variable. We are only setting
flags that both understand.
2024-01-27 00:31:00 +00:00
Jack Grigg
c5af1e0dd2
CI: Fix passing feature flags into preparation action step
2024-01-27 00:03:03 +00:00
dependabot[bot]
fcf66959e4
build(deps): bump codecov/codecov-action from 3.1.4 to 3.1.5
...
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action ) from 3.1.4 to 3.1.5.
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](https://github.com/codecov/codecov-action/compare/v3.1.4...v3.1.5 )
---
updated-dependencies:
- dependency-name: codecov/codecov-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-01-26 05:06:58 +00:00
str4d
6174055fa3
Merge pull request #1134 from zcash/ci-reduce-macos-builds
...
CI: Don't test `unstable-nu6` and `zfuture` feature flags on macOS
2024-01-25 22:26:31 +00:00
Jack Grigg
9456d31f23
CI: Don't test `unstable-nu6` and `zfuture` feature flags on macOS
...
This reduces the number of macOS runner jobs in each PR from 10 to 6, or
from 5 to 3 for external PRs. GitHub's macOS runners are noticeably
slower than their other runners, and our available free runner slots are
being quickly exhausted when we have multiple PRs open.
2024-01-25 21:19:50 +00:00
Jack Grigg
c52a26cd8e
CI: Copy patch directives into synthetic crate
2024-01-25 19:49:46 +00:00
Kris Nuttycombe
184e3c741f
Add `zcash_unstable` compiler flag to fully gate `orchard` functionality
2024-01-24 17:48:10 -07:00
Jack Grigg
5187a2dafb
CI: Replace `--all-features` with common feature config
...
Part of zcash/librustzcash#1123 .
2024-01-24 23:41:43 +00:00
Jack Grigg
c8d4dacfc1
CI: Move testing of unstable features into a separate job
...
Closes zcash/librustzcash#1109 .
2024-01-16 22:36:53 +00:00
Jack Grigg
3789e46700
CI: Add lint to check protobuf consistency with generated files
...
Closes zcash/librustzcash#1098 .
2024-01-05 21:03:01 +00:00
str4d
e4b9d73d0c
Merge pull request #1003 from nuttycom/wallet/reusable_input_selection
...
zcash_client_backend: Factor out `InputSource` from `WalletRead`
2023-11-08 20:20:03 +00:00