forked from paritytech/cumulus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into ao-recovery-try-connect
* master: Update .github/workflows/docs.yml Add protoc Companion for contracts WeightV2 (paritytech#1726) [ci] add fmt check (paritytech#1733) fmt (paritytech#1731) Fix target of some Matrix notifications Bump thiserror from 1.0.35 to 1.0.37 (paritytech#1704)
- Loading branch information
Showing
15 changed files
with
432 additions
and
292 deletions.
There are no files selected for viewing
This file contains 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 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,37 @@ | ||
name: Rustfmt check | ||
|
||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened, ready_for_review] | ||
|
||
jobs: | ||
quick_check: | ||
strategy: | ||
matrix: | ||
os: ["ubuntu-latest"] | ||
runs-on: ${{ matrix.os }} | ||
steps: | ||
- name: Install Rust nightly toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: nightly | ||
override: true | ||
components: clippy, rustfmt | ||
|
||
- name: Cache Dependencies & Build Outputs | ||
uses: actions/cache@v3 | ||
with: | ||
path: | | ||
~/.cargo/registry | ||
~/.cargo/git | ||
target | ||
key: ${{ runner.os }}-${{ matrix.os }}-cargo-${{ hashFiles('**/Cargo.lock') }} | ||
|
||
- uses: actions/checkout@v3 | ||
|
||
- name: Cargo fmt | ||
uses: actions-rs/cargo@v1 | ||
with: | ||
command: fmt | ||
args: --all -- --check |
This file contains 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 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 |
---|---|---|
|
@@ -271,11 +271,17 @@ jobs: | |
if: ${{ github.event.inputs.notification == 'true' }} | ||
runs-on: ubuntu-latest | ||
needs: publish-draft-release | ||
strategy: | ||
matrix: | ||
channel: | ||
- name: 'Cumulus Release Coordination' | ||
room: '!ZrLPsivsytpkdJfVaa:matrix.parity.io' | ||
pre-releases: true | ||
steps: | ||
- name: Internal polkadot channel | ||
uses: s3krit/[email protected] | ||
- name: Matrix notification to ${{ matrix.channel.name }} | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
with: | ||
room_id: ${{ secrets.INTERNAL_CUMULUS_MATRIX_ROOM_ID }} | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
message: | | ||
**New draft for ${{ github.repository }}**: ${{ github.event.inputs.ref2 }}<br/> | ||
|
This file contains 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 |
---|---|---|
|
@@ -18,8 +18,8 @@ jobs: | |
pre-release: true | ||
|
||
steps: | ||
- name: send message | ||
uses: s3krit/[email protected] | ||
- name: Matrix notification to ${{ matrix.channel.name }} | ||
uses: s3krit/matrix-message-action@70ad3fb812ee0e45ff8999d6af11cafad11a6ecf # v0.0.3 | ||
with: | ||
room_id: ${{ matrix.channel.room }} | ||
access_token: ${{ secrets.MATRIX_ACCESS_TOKEN }} | ||
|
Oops, something went wrong.