-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Add ci check for parity-publish and fix current check issues #1887
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
67509c7
Publish needed crates
Morganamilo 6a9e990
Rename node-cli to staging-node-cli
Morganamilo 042a9f8
Rename parachain-info to staging-parachain-info
Morganamilo 33e3ff0
Rename chain-spec-builder to staging-chain-spec-builder
Morganamilo 6b49830
Rename more crates
Morganamilo ab65641
Add licenses
Morganamilo 38edc69
Remove non existant readme
Morganamilo bdc3dfe
Add publish check
Morganamilo 07b6880
Rename imports in tests
Morganamilo fe6031a
Build parity-publish in dev
Morganamilo f3ed67f
cargo fmt
Morganamilo 34c2197
Use parity-publish from registry
Morganamilo c5ea8fc
Rebase fixup
Morganamilo 03f9aef
Add cache
Morganamilo 54ad02a
rebase fixup
Morganamilo cfc41a0
Fix CI
Morganamilo f702ac2
Update .github/workflows/check-publish.yml
Morganamilo 2db440d
Update .github/workflows/check-publish.yml
Morganamilo 83c3f51
Fix CI
Morganamilo 349245a
Fix CI
Morganamilo 0e0787a
Fix CI
Morganamilo b646858
Update .github/workflows/check-publish.yml
Morganamilo 00aaa4c
Fix CI
Morganamilo 030d21e
Fix CI
Morganamilo 8afde0b
Fix CI
Morganamilo 0e88169
Fix CI
Morganamilo c3f5501
Trigger CI
Morganamilo 59fa737
Revert main `Cargo.lock` changes
bkchr a375014
Don't publish node
Morganamilo d8fd392
Don't publish executor
Morganamilo d627606
Don't publish node-primitives
Morganamilo 33566e6
Add missing license
Morganamilo 34758a3
Merge remote-tracking branch 'origin/master' into morganamilo/cicheck
Morganamilo 0f3075c
Rename crates back
Morganamilo 9de066a
Fix licenses
Morganamilo 7014f06
Merge branch 'master' into morganamilo/cicheck
Morganamilo 53c8540
Fix readme
Morganamilo File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| name: Check publish | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| pull_request: | ||
| types: [opened, synchronize, reopened, ready_for_review] | ||
|
|
||
| jobs: | ||
| check-publish: | ||
| strategy: | ||
| matrix: | ||
| os: ["ubuntu-latest"] | ||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | ||
|
|
||
Morganamilo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| - name: Rust Cache | ||
| uses: Swatinem/rust-cache@3cf7f8cc28d1b4e7d01e3783be10a97d55d483c8 # v2.7.1 | ||
Morganamilo marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| with: | ||
| cache-on-failure: true | ||
|
|
||
| - name: install parity-publish | ||
| run: cargo install parity-publish --profile dev | ||
|
|
||
| - name: parity-publish check | ||
| run: parity-publish check --allow-unpublished | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.