Skip to content

Commit

Permalink
Merge branch 'master' into transport-redesign
Browse files Browse the repository at this point in the history
  • Loading branch information
umgefahren authored Apr 30, 2024
2 parents 952cf54 + e5c072c commit 0d5dcba
Show file tree
Hide file tree
Showing 177 changed files with 1,874 additions and 1,296 deletions.
32 changes: 17 additions & 15 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,24 @@ pull_request_rules:
message: Approvals have been dismissed because the PR was updated after the `send-it` label was applied.
changes_requested: false

# - name: Approve trivial maintainer PRs
# conditions:
# - base=master
# - label=trivial
# - author=@libp2p/rust-libp2p-maintainers
# actions:
# review:
- name: Approve trivial maintainer PRs
conditions:
- base=master
- label=trivial
- author=@libp2p/rust-libp2p-maintainers
actions:
review:
type: APPROVE

# - name: Approve dependabot PRs of semver-compatible updates
# conditions:
# - author=dependabot[bot]
# - or:
# - title~=bump [^\s]+ from ([1-9]+)\..+ to \1\. # For major >= 1 versions, only approve updates with the same major version.
# - title~=bump [^\s]+ from 0\.([\d]+)\..+ to 0\.\1\. # For major == 0 versions, only approve updates with the same minor version.
# actions:
# review:
- name: Approve dependabot PRs of semver-compatible updates
conditions:
- author=dependabot[bot]
- or:
- title~=bump [^\s]+ from ([1-9]+)\..+ to \1\. # For major >= 1 versions, only approve updates with the same major version.
- title~=bump [^\s]+ from 0\.([\d]+)\..+ to 0\.\1\. # For major == 0 versions, only approve updates with the same minor version.
actions:
review:
type: APPROVE

queue_rules:
- name: default
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
- name: Extract version from manifest
run: |
CRATE_VERSION=$(cargo metadata --format-version=1 --no-deps | jq -e -r '.packages[] | select(.name == "'"$CRATE"'") | .version')
echo "CRATE_VERSION=$CRATE_VERSION" >> $GITHUB_ENV
- name: Enforce version in `workspace.dependencies` matches latest version
Expand Down Expand Up @@ -234,7 +234,7 @@ jobs:
fail-fast: false
matrix:
rust-version: [
1.75.0, # current stable
1.77.0, # current stable
beta,
]
steps:
Expand Down Expand Up @@ -319,7 +319,7 @@ jobs:
- uses: actions/checkout@v4
- run: wget -q -O- https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.27.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C ~/.cargo/bin
shell: bash
- uses: obi1kenobi/cargo-semver-checks-action@48f4ef7da6d907d69d18249e0ba79aa98c61b9db # v2
- uses: obi1kenobi/cargo-semver-checks-action@c7306483f698c511eaf7416d1bf2e1958c90140f # v2

rustfmt:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -379,7 +379,7 @@ jobs:
- run: cargo install --version 0.10.0 pb-rs --locked

- name: Glob match
uses: tj-actions/glob@v20
uses: tj-actions/glob@v21
id: glob
with:
files: |
Expand Down
Loading

0 comments on commit 0d5dcba

Please sign in to comment.