Gustavo Valverde
b0604080cb
ci: reduce the amount of API calls made by `arduino/setup-protoc@v1` ( #5930 )
...
* ci: reduce the amount of API calls made by `arduino/setup-protoc@v1`
If the `protoc` compiler version is not available locally, the action will look for the most recent version. We use a fixed version to reduce the amount of API calls being done in all workflows, but mainly on `build-crates-individually.yml`
* fix: decrease `protoc` version until the action is fixed
2023-01-10 21:22:03 +00:00
dependabot[bot]
2117ee403a
build(deps): bump actions/checkout from 3.2.0 to 3.3.0 ( #5918 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.2.0 to 3.3.0.
- [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/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-05 18:08:18 +00:00
dependabot[bot]
bf19452b9b
build(deps): bump w9jds/firebase-action from 11.16.0 to 11.18.0 ( #5876 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 11.16.0 to 11.18.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v11.16.0...v11.18.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-19 16:44:45 +00:00
dependabot[bot]
3e00426de4
build(deps): bump actions/checkout from 3.1.0 to 3.2.0 ( #5855 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.1.0 to 3.2.0.
- [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/v3.1.0...v3.2.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-13 21:24:49 +00:00
dependabot[bot]
04df10fc7d
build(deps): bump w9jds/firebase-action from 11.9.0 to 11.16.0 ( #5632 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 11.9.0 to 11.16.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v11.9.0...v11.16.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-15 18:13:26 +00:00
dependabot[bot]
a2a75059d3
build(deps): bump peaceiris/actions-mdbook from 1.1.14 to 1.2.0 ( #5467 )
...
Bumps [peaceiris/actions-mdbook](https://github.com/peaceiris/actions-mdbook ) from 1.1.14 to 1.2.0.
- [Release notes](https://github.com/peaceiris/actions-mdbook/releases )
- [Changelog](https://github.com/peaceiris/actions-mdbook/blob/main/CHANGELOG.md )
- [Commits](https://github.com/peaceiris/actions-mdbook/compare/v1.1.14...v1.2.0 )
---
updated-dependencies:
- dependency-name: peaceiris/actions-mdbook
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-24 19:48:58 +00:00
dependabot[bot]
58b0ed1d85
build(deps): bump actions/checkout from 3.0.2 to 3.1.0 ( #5329 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.0.2 to 3.1.0.
- [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/v3.0.2...v3.1.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-10-05 21:45:06 +00:00
dependabot[bot]
11e505b313
build(deps): bump w9jds/firebase-action from 11.5.0 to 11.9.0 ( #5196 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 11.5.0 to 11.9.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v11.5.0...v11.9.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 04:40:55 +00:00
teor
0d4a6a64d2
Enable all cargo features in Zebra's deployed docs ( #5156 )
2022-09-14 19:53:08 +00:00
Alfredo Garcia
6cb9c5250e
build(deps): bump prost, tonic, tonic-build and console-subscriber ( #5009 )
...
* bump prost, tonic and tonic-build
* add protoc as a dependency step in the CI
* bump console-subscriber
* add protoc to `build-crates-individually`
* add protoc to docs build
* install protoc in lint.yml
* change protoc installation location in lint.yml
* add protoc to `Check Cargo.lock is up to date`
* ci(build): keep protoc pinned to the same major version
* ci(build): avoid rate limiting with `arduino/setup-protoc@v1`
* cargo upgrade --workspace console-subscriber
Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
Co-authored-by: teor <teor@riseup.net>
2022-09-06 14:49:18 +00:00
Gustavo Valverde
c85e482fa0
ci(concurrency)!: run a single CI workflow as required ( #4981 )
...
* ci(concurrency)!: run a single CI workflow as required
Previous behavior:
Multiple Mainnet full syncs were able to run on the main branch at the
same time, and pushing multiple commits to the same branch would run
multiple CI workflows, when only the run from last commit was relevant
Expected behavior:
Ensure that only a single CI workflow runs at the same time in PRs.
The latest commit should cancel any previous running workflows from the
same PR.
Solution:
Use GitHub actions concurrency feature https://docs.github.com/en/actions/using-jobs/using-concurrency
Fixes https://github.com/ZcashFoundation/zebra/issues/4977
Fixes https://github.com/ZcashFoundation/zebra/issues/4857
* docs: typo
* ci(concurrency): do not cancel running full syncs
Co-authored-by: teor <teor@riseup.net>
* fix(concurrency): explain the behavior better & add new ones
Co-authored-by: teor <teor@riseup.net>
2022-08-30 00:11:05 +00:00
dependabot[bot]
4ecaefed72
build(deps): bump w9jds/firebase-action from 2.2.2 to 11.5.0 ( #4905 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 2.2.2 to 11.5.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v2.2.2...v11.5.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-23 11:04:41 +00:00
teor
52fa867cb8
change(ci): Disable beta Rust tests and add parameter download logging ( #4930 )
...
* Apply the same Rust logging settings to all GitHub workflows
* Enable full optimisations in dev builds for downloading large parameter files
* Disable beta Rust tests in CI
2022-08-23 03:43:18 +00:00
Gustavo Valverde
e1a7a305d2
imp(docs): manage`cargo-mdbook` as a GitHub action ( #4636 )
...
* imp(docs): manage`cargo-mdbook` as a GitHub action
* fix(docs): keep mdbook-mermaid
2022-06-17 05:29:50 +00:00
dependabot[bot]
bbf77e53e4
build(deps): bump w9jds/firebase-action from 2.2.0 to 2.2.2 ( #4592 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v2.2.0...v2.2.2 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-13 17:24:46 +00:00
dependabot[bot]
3985bd151e
build(deps): bump w9jds/firebase-action from 2.1.2 to 2.2.0 ( #4588 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 2.1.2 to 2.2.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v2.1.2...v2.2.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-10 19:46:19 +00:00
dependabot[bot]
1c10f40b29
build(deps): bump w9jds/firebase-action from 2.1.0 to 2.1.2 ( #4431 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 2.1.0 to 2.1.2.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v2.1.0...v2.1.2 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-19 23:55:48 +00:00
dependabot[bot]
2f636bf046
build(deps): bump w9jds/firebase-action from 2.0.0 to 2.1.0 ( #4402 )
...
Bumps [w9jds/firebase-action](https://github.com/w9jds/firebase-action ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/w9jds/firebase-action/releases )
- [Commits](https://github.com/w9jds/firebase-action/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: w9jds/firebase-action
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-16 22:14:21 +00:00
Conrado Gouvea
a3eed2daad
fix(doc): add support for Mermaid to render graphs ( #4359 )
2022-05-09 20:29:49 +00:00
teor
23ff00b246
Increase deploy docs job timeout ( #4246 )
2022-04-28 22:01:23 +00:00
dependabot[bot]
a613fb1682
build(deps): bump actions/checkout from 3.0.1 to 3.0.2 ( #4163 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.0.1 to 3.0.2.
- [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/v3.0.1...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-22 03:00:02 +00:00
dependabot[bot]
90a8401308
build(deps): bump actions/checkout from 3.0.0 to 3.0.1 ( #4126 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 3.0.0 to 3.0.1.
- [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/v3...v3.0.1 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-16 02:01:20 +00:00
Gustavo Valverde
831a2009bd
style(ci): lint and standardize the actions structure ( #3940 )
...
* style(ci): comply with https://json.schemastore.org/github-workflow.json
Some substituions were harder to make as files were not standardized
* fix(mergify): use correct name for macos
* style(actions): revert to single quotes
* style: lint dependabot and mergify conf files
* style: remove conditions with missing context
* imp(lint): automate GH Actions linting
* fix(lint): some actions need to be triggered by PR event
* fix(lint): consider all workflow YAMLs
* Use the same paths in the patch file
* revert: keep condition as is
* add TODO
* fix: add missing checkpoint_sync input
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-04-12 15:06:37 +10:00
Conrado Gouvea
0d2c7154ea
build(deps): bump actions/checkout from 2.4.0 to 3.0.0 ( #3806 )
2022-03-09 03:38:38 +00:00
teor
6b31f5b454
fix(ci): update CI job path triggers ( #3692 )
...
* ci(test): re-run tests when snapshot data changes
* fix(ci): rebuild state when disk format changes
* fix(ci): rebuild rust docs when code or dependencies change
* doc(ci): explain why we run jobs when files change
Co-authored-by: Gustavo Valverde <gustavo@iterativo.do>
2022-03-02 14:23:05 +00:00
Gustavo Valverde
fd8c727c31
fix(actions): typo on paths filtering ( #3516 )
...
The keyword is `paths` and the actions were using `path`
That's the reason why most actions have been running, and there's been no impact in time savings
2022-02-11 14:05:19 +00:00
Gustavo Valverde
6373a95405
Improve GitHub Actions checks based on files & folders ( #3377 )
...
* Segregate linting jobs from CI workflow
Lint on push to all branches, except for main, as this action will be required to merge.
Just run the lint action when a Rust file is changed, as it won't make sense to run it on other scenarios.
DRY with uneeded jobs
* Make actions dependable on changed files or folders
* Fix & add missing paths
* Revert changes removing cargo.lock and deny.toml checks
Also refactor this to use a more redable and change prone cargo-deny-action. And move this actions out of the clippy-deps job, as this are more related to CI than linting.
* Fix wrong indentation
* Add new configuration file from #3386
* Do not fail on licenses as this configuration is missing
* Do not add advisories features
Add advisories checks in a different PR
* Allow tests and coverage on PR series
If we only run CI on branches that are going to merge to main, then PR series become a lot harder to test. (Because each PR is based on the previous PR, not main.)
2022-01-25 07:58:11 -04:00
dependabot[bot]
bdf5f70557
Bump actions/checkout from 2.3.5 to 2.4.0 ( #3009 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.5 to 2.4.0.
- [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.3.5...v2.4.0 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-11-05 15:08:39 +10:00
dependabot[bot]
0b25257bef
Bump actions/checkout from 2.3.4 to 2.3.5 ( #2898 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2.3.4 to 2.3.5.
- [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.3.4...v2.3.5 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: teor <teor@riseup.net>
2021-10-19 04:03:10 +00:00
Deirdre Connolly
ea15ad1131
Use Swatinem/rust-cache@v1 ( #2291 )
2021-06-15 11:36:33 +10:00
Deirdre Connolly
71b41f0206
cargo install mdbook
2021-06-14 17:12:31 -04:00
Deirdre Connolly
45cbfa8e67
Upgrade mdbook to 0.4.10
2021-06-14 17:12:31 -04:00
teor
dd7747bc69
Security: Remove checkout credentials from GitHub actions ( #2158 )
...
* Remove checkout credentials from CD action
* Remove checkout credentials from CI action
* Remove checkout credentials from coverage action
* Remove checkout credentials from docs action
* Remove checkout credentials from manual deploy action
* Remove checkout credentials from test action
* Remove checkout credentials from zcashd action
2021-05-17 09:32:38 +10:00
dependabot[bot]
e4ed072c28
build(deps): bump actions/checkout from 2 to 2.3.4 ( #2143 )
...
Bumps [actions/checkout](https://github.com/actions/checkout ) from 2 to 2.3.4.
- [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...v2.3.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-13 07:51:12 +10:00
teor
d0e6597fec
Use minimal cargo components in docs workflow
2021-04-30 07:35:46 +10:00
Alfredo Garcia
d8165ccb4d
Apply suggestions from code review
...
Co-authored-by: Deirdre Connolly <deirdre@zfnd.org>
2021-03-03 18:06:00 -05:00
Alfredo Garcia
97f400ff96
remove redundant step
2021-03-03 18:06:00 -05:00
Alfredo Garcia
efba34786c
re-enable docs CI with different firebase project IDs
2021-03-03 18:06:00 -05:00
teor
535e9d0234
Disable failing docs workflow ( #1787 )
2021-02-19 19:35:46 +10:00
Deirdre Connolly
7665c6792e
Fix the yaml indentation for the docs.yml workflow
...
Gotta love yaml.
2021-02-18 22:50:48 -05:00
Alfredo Garcia
280496ef4e
bring coverage and docs back into CI
2021-02-16 19:43:36 -05:00
teor
bf42e468fc
Temporarily disable failing docs CI
2021-02-05 07:50:46 +10:00
Deirdre Connolly
a21eaad707
Use mdbook 0.4.5
...
https://blog.rust-lang.org/2021/01/04/mdbook-security-advisory.html
2021-01-08 21:24:31 -05:00
Deirdre Connolly
40b012acef
Add mdbook stuff to path using environment files/variables instead of workflow commands
...
Fixes #1309
2020-11-16 21:18:19 -05:00