Skip to content
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

deps: update webrtc to 0.11.0 #7

Open
wants to merge 114 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
802d128
Use newer version for rcgen enable RISC-V builds.
haurog Jul 27, 2024
0cf1ccb
Fix deprecation warnings for errors due to move to newer rcgen
haurog Jul 27, 2024
bd8871b
Merge branch 'libp2p:master' into master
haurog Sep 3, 2024
80fc4fe
Fix rcgen version in webrtc
haurog Sep 4, 2024
cdc9638
chore: parameterise s3 build cache setup (#5586)
galargh Sep 13, 2024
a2a2816
fix(autonat): reject inbound dial request from peer if its not connec…
Eligioo Sep 13, 2024
fd4e1e1
chore(ci): only run interop tests on commits to master (#5604)
jxs Sep 20, 2024
c6cf7fe
fix(ci): address cargo-deny advisories (#5596)
jxs Sep 24, 2024
f3e0e55
chore(ci): address beta clippy lints (#5606)
jxs Sep 25, 2024
8ceadaa
fix(swarm): don't report `NewExternalAddrCandidate` if already confir…
stormshield-frb Sep 26, 2024
89d78dd
chore(autonat-v2): fix dial_back_to_non_libp2p test (#5621)
jxs Oct 4, 2024
b83dd95
chore: update interop test run condition (#5611)
guillaumemichel Oct 4, 2024
7669b16
deps: update metrics example dependencies (#5617)
jxs Oct 4, 2024
fcff3f8
refactor(examples): use tokio instead of async-std in relay-server (#…
P1R Oct 4, 2024
93ad28c
fix(server): removing dependency on libp2p-lookup (#5610)
guillaumemichel Oct 4, 2024
9a45db3
chore: update igd-next to 0.15.1 (#5625)
dariusc93 Oct 8, 2024
d3228ad
deps: bump Swatinem/rust-cache from 2.7.3 to 2.7.5 (#5633)
dependabot[bot] Oct 14, 2024
812a7cd
feat: make runtime features optional in swarm-test (#5551)
hanabi1224 Oct 15, 2024
524d7f1
chore: fix typo in comment (#5643)
AdventureSeeker987 Oct 22, 2024
9ed181b
deps(ci): update cargo-semver-checks (#5647)
jxs Oct 24, 2024
6cb116e
fix(swarm-test): set proper version (#5648)
jxs Oct 24, 2024
84c617f
feat(kad): add `Behavior::find_closest_local_peers()` (#5645)
nazar-pc Oct 24, 2024
c7e8129
feat(gossipsub): apply `max_transmit_size` to the published message (…
kalabukdima Oct 25, 2024
4e7ff3e
chore(ci): address clippy beta lints (#5649)
jxs Oct 26, 2024
9586071
feat: refactor distributed-key-value-store example (#5652)
kamuik16 Oct 29, 2024
8387749
chore: refactor ping tests (#5655)
kamuik16 Oct 30, 2024
d021ce2
fix(websocket): don't dial `/dnsaddr` addresses (#5613)
hmzdot Nov 5, 2024
5179d78
chore: fix some comments (#5661)
AdventureSeeker987 Nov 5, 2024
858a4cd
chore: identify::Config fields private (#5663)
kamuik16 Nov 6, 2024
a9b6799
chore(protocols): fix some typos in comment (#5665)
wangjingcun Nov 8, 2024
4192fc3
chore(ci): fix interop tests region, and run them again on each PR (#…
jxs Nov 8, 2024
0c34d9f
chore: deprecate `void` crate (#5676)
hanabi1224 Nov 14, 2024
8222461
chore: replace async-std with tokio in autonat tests (#5671)
kamuik16 Nov 18, 2024
0e9dcdd
chore: bump crate versions and update changelogs for #5676 (#5678)
hanabi1224 Nov 20, 2024
059742f
chore(ci): add a mergify batch queue for external PRs (#5668)
jxs Nov 21, 2024
13b9ea2
chore: refactor dcutr and gossipsub tests to use tokio instead
kamuik16 Nov 21, 2024
c3a21d1
chore(gossispsub): deprecate futures-ticker
jxs Nov 21, 2024
00588a5
chore: update FUNDING.json
paulhauner Nov 22, 2024
2371922
feat(gossipsub): introduce backpressure
jxs Nov 25, 2024
b057f91
chore(deps): upgrade `thiserror` to 2.0
hanabi1224 Nov 25, 2024
c9c44b1
fix: typos in documentation files
leopardracer Nov 26, 2024
0d890fd
fix(gossipsub): fix mesh/fanout inconsistencies
jxs Nov 27, 2024
930118e
fix(ci): Clippy Beta
hanabi1224 Nov 28, 2024
b187c14
chore: introduce rustfmt.toml
jxs Nov 28, 2024
d0590a7
feat(kad): make Distance private field public
maqi Dec 3, 2024
1c3e820
chore: fix some typos in comment
needsure Dec 6, 2024
78e6f08
fix(libp2p): expose builder phase error
drHuangMHT Dec 10, 2024
276ce84
feat(request-response): Add connection id to behaviour events
BastienFaivre Dec 10, 2024
bb9c369
chore(ci): update Rust stable version
elenaf9 Dec 11, 2024
1e9bb4c
chore(roadmap): fix typo
lfgtwo Dec 11, 2024
524afb4
chore(deps): upgrade uint to 0.10
hanabi1224 Dec 11, 2024
cda1470
fix: RUSTSEC-2024-0421 by upgrading idna
hanabi1224 Dec 11, 2024
99544c4
deps(metrics-example): update opentelemetry to 0.27
jxs Dec 12, 2024
3c1f856
fix: update Cargo.lock
jxs Dec 12, 2024
c4e4540
chore: add Unicode V3 license to deny.toml
jxs Dec 13, 2024
be28c96
chore(core): avoid unused props matching on connection.rs
sergey-melnychuk Dec 13, 2024
f4edafb
feat(swarm): set default for idle-connection-timeout to 10s (#4967)
thomaseizinger Dec 13, 2024
9f197c2
chore(deps): bump golang.org/x/crypto from 0.21.0 to 0.31.0 (#5736)
dependabot[bot] Dec 13, 2024
c8c1b80
fix(identify): validate public key from remote peer
jameshiew Dec 13, 2024
d7b66a7
deps(memory-connection-limits): update sysinfo to 0.33
jxs Dec 13, 2024
89af870
feat(SwarmBuilder): add with_connection_timeout method
stormshield-frb Dec 14, 2024
ebc01e6
chore(core): use `matches!` in connection.rs
xep-c-6yrpa Dec 14, 2024
577036a
chore: fix format with nightly
elenaf9 Dec 15, 2024
df85cff
chore(docs): fix typos in documentation
Pricstas Dec 15, 2024
54d7f21
chore(ci): check rustfmt with nightly toolchain
elenaf9 Dec 16, 2024
3be7104
fix(kad): improve memory allocation when iterating over kbuckets
stormshield-frb Dec 17, 2024
6a6fa12
chore(spellchecker): fix typos in comment
argentpapa Dec 17, 2024
503b136
chore: add SQD Network to notable users list
kalabukdima Dec 18, 2024
bd710df
feat(mdns): emit `ToSwarm::NewExternalAddrOfPeer` on discovery
hopinheimer Dec 23, 2024
cddb7d6
fix: multiple typos of different importance
crStiv Dec 23, 2024
7590ab2
chore(deps): remove unused deps
hanabi1224 Dec 24, 2024
c40338d
chore(mdns): revert version bump
elenaf9 Dec 24, 2024
69cf073
deps(quic): update quinn to 0.11.6
kalabukdima Dec 25, 2024
644d7d0
chore: introduce `libp2p-test-utils`
kamuik16 Dec 26, 2024
0ad6c9a
feat(gossipsub): implement gossipsub 1.2 beta
hopinheimer Dec 27, 2024
1ab4658
chore(deps): update Cargo.lock
hanabi1224 Dec 27, 2024
e1d02ca
feat(gossipsub): Allow setting a size threshold for IDONTWANT messages
hopinheimer Dec 29, 2024
5841277
chore(kad): revert version bump
elenaf9 Jan 2, 2025
a14776e
chore(autonat): revert version bump
elenaf9 Jan 2, 2025
f7f9e13
chore(server): revert version bump
elenaf9 Jan 2, 2025
2f9294c
chore(identify): revert version bump
elenaf9 Jan 2, 2025
fd3f7c4
chore(ci): add Zlib to deny.toml
jxs Jan 2, 2025
02040ff
chore(allow-block-list): revert version bump
elenaf9 Jan 2, 2025
40550dc
chore(kad): remove default constructor for ProtocolConfig
drHuangMHT Jan 3, 2025
7e3086d
feat: broadcasting `idontwant` for published messages
hopinheimer Jan 4, 2025
34ac476
fix(gossipsub): make sure we have fanout peers when publish
ackintosh Jan 6, 2025
f096394
feat(request-response): allow custom sizes for `json` and `cbor` codec
dariusc93 Jan 7, 2025
4a1122e
chore: update MSRV
jxs Jan 8, 2025
63c0731
chore: address clippy lints for Rust 1.85.0-beta
elenaf9 Jan 9, 2025
28387f2
deps: bump Swatinem/rust-cache from 2.7.5 to 2.7.7
dependabot[bot] Jan 9, 2025
4b4f197
refactor: mark {In, Out}boundOpenInfo as deprecated
drHuangMHT Jan 9, 2025
957939c
Merge branch 'master' of github.com:libp2p/rust-libp2p into rcgen-0.12.1
jxs Jan 9, 2025
75b6dfe
chore(identify): fix changelog entry
elenaf9 Jan 9, 2025
2cdc51c
update webrtc crate
jxs Jan 9, 2025
91562c1
update CHANGELOG.md
jxs Jan 9, 2025
fa33d9f
Merge branch 'master' of github.com:libp2p/rust-libp2p into update-we…
jxs Jan 9, 2025
10b6234
fix websocket doc
jxs Jan 9, 2025
40ddf7e
chore(ci): fix wasm tests
jxs Jan 9, 2025
99c7e0b
Merge branch 'master' of github.com:libp2p/rust-libp2p into update-we…
jxs Jan 10, 2025
b3fcca8
chore(swarm): append missing changelog
drHuangMHT Jan 10, 2025
a8b7e0e
ci(mergify): upgrade configuration to current format
mergify[bot] Jan 10, 2025
ba8da16
fix(tcp): make `TCP_NODELAY` actually the default
elenaf9 Jan 10, 2025
e6b02da
chore(ci): update mergify script
jxs Jan 10, 2025
ded5d96
chore(interop-tests): remove static linking flags for dependency builds
thomaseizinger Jan 10, 2025
1442ca0
deps(if-watch): update if-watch to v3.2.1
brenodt Jan 12, 2025
d57081f
chore(ci): update mergify script
jxs Jan 13, 2025
0177ddf
chore(test-utils): revert #5725
jxs Jan 13, 2025
4449024
fix: minor version bump packages affected by #5676
elenaf9 Jan 14, 2025
9d3688d
chore: prepare libp2p-webrtc-websys 0.4.0
jxs Jan 14, 2025
9698607
chore(*): prepare release
elenaf9 Jan 15, 2025
7c36d30
chore(ci): fix workspace version enforcing job
jxs Jan 16, 2025
cc8607c
refactor(gossipsub): remove duplicated call to `inbound_transform`
drHuangMHT Jan 16, 2025
0b44564
chore(ci): update tomlq
jxs Jan 21, 2025
2e7069b
Merge branch 'master' of github.com:libp2p/rust-libp2p into update-we…
jxs Jan 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
8 changes: 4 additions & 4 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ body:
- type: textarea
attributes:
label: Summary
description: Please provide a short summary of the bug, along with any information you feel relevant to replicate the bug.
description: Please provide a short summary of the bug, along with any information you feel is relevant to replicate the bug.
validations:
required: true
- type: textarea
Expand All @@ -34,7 +34,7 @@ body:
- type: textarea
attributes:
label: Possible Solution
description: Suggest a fix/reason for the bug, or ideas how to implement the addition or change.
description: Suggest a fix/reason for the bug, or ideas on how to implement the addition or change.
validations:
required: false
- type: textarea
Expand All @@ -45,11 +45,11 @@ body:
required: false
- type: dropdown
attributes:
label: Would you like to work on fixing this bug ?
label: Would you like to work on fixing this bug?
description: Any contribution towards fixing the bug is greatly appreciated. We are more than happy to provide help on the process.
options:
- "Yes"
- "No"
- Maybe
validations:
required: true
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/enhancement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ body:
required: true
- type: dropdown
attributes:
label: Are you planning to do it yourself in a pull request ?
label: Are you planning to do it yourself in a pull request?
description: Any contribution is greatly appreciated. We are more than happy to provide help on the process.
options:
- "Yes"
- "No"
- Maybe
validations:
required: true
required: true
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ body:
required: false
- type: dropdown
attributes:
label: Are you planning to do it yourself in a pull request ?
label: Are you planning to do it yourself in a pull request?
description: Any contribution is greatly appreciated. We are more than happy to provide help on the process.
options:
- "Yes"
- "No"
- Maybe
validations:
required: true
required: true
74 changes: 38 additions & 36 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,55 +1,30 @@
defaults:
actions:
queue:
method: squash
commit_message_template: |
{{ title }}

{{ body | get_section("## Description", "") }}

Pull-Request: #{{ number }}.

{{ body | get_section("## Attributions", "") }}

pull_request_rules:
- name: Ask to resolve conflict
conditions:
- conflict
- -author=dependabot[bot]
- or:
- -draft # Don't report conflicts on regular draft.
- and: # Do report conflicts on draft that are scheduled for the next major release.
- draft
- milestone~=v[0-9]\.[0-9]{2}
- -draft # Don't report conflicts on regular draft.
- and: # Do report conflicts on draft that are scheduled for the next major release.
- draft
- milestone~=v[0-9]\.[0-9]{2}
actions:
comment:
message: This pull request has merge conflicts. Could you please resolve them @{{author}}? 🙏

- name: Add to merge queue
conditions:
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
- label=send-it
- base=master
actions:
queue:

- name: Add approved dependabot PRs to merge queue
conditions:
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
- author=dependabot[bot]
- base=master
actions:
queue:
message: This pull request has merge conflicts. Could you please resolve them
@{{author}}? 🙏

- name: Remove reviews on updates after PR is queued for merging
conditions:
- base=master
- label=send-it
- author!=@libp2p/rust-libp2p-maintainers
- author!=dependabot[bot]
# Do not remove approvals if last commit was a merge of master into the branch, required for the PR to be merged.
- commits[-1].author!=@libp2p/rust-libp2p-maintainers
actions:
dismiss_reviews:
message: Approvals have been dismissed because the PR was updated after the `send-it` label was applied.
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
Expand All @@ -71,6 +46,33 @@ pull_request_rules:
review:
type: APPROVE

- name: Add approved dependabot PRs to merge queue
conditions:
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
- author=dependabot[bot]
- base=master
actions:
queue:

- name: Add send-it labeled PRs to merge queue
conditions:
# All branch protection rules are implicit: https://docs.mergify.com/conditions/#about-branch-protection
- base=master
- label=send-it
actions:
queue:

queue_rules:
- name: default
conditions: []
queue_conditions:
- base=master
merge_conditions: []
merge_method: squash
commit_message_template: |
{{ title }}

{{ body | get_section("## Description", "") }}

Pull-Request: #{{ number }}.

{{ body | get_section("## Attributions", "") }}
4 changes: 2 additions & 2 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This section will appear as the commit message after merging.
Please craft it accordingly.
For a quick primer on good commit messages, check out this blog post: https://cbea.ms/git-commit/

Please include any relevant issues in here, for example:
Please include any relevant issues here, for example:

Related https://github.com/libp2p/rust-libp2p/issues/ABCD.
Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ.
Expand All @@ -15,7 +15,7 @@ Fixes https://github.com/libp2p/rust-libp2p/issues/XYZ.
## Notes & open questions

<!--
Any notes, remarks or open questions you have to make about the PR which don't need to go into the final commit message.
Any notes, remarks, or open questions you have to make about the PR that don't need to go into the final commit message.
-->

## Change checklist
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cache-factory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: stable-cache

Expand Down
34 changes: 17 additions & 17 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

- uses: dtolnay/rust-toolchain@stable

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: stable-cache
save-if: false
Expand All @@ -67,17 +67,17 @@ jobs:

echo "CRATE_VERSION=$CRATE_VERSION" >> $GITHUB_ENV

- name: Enforce version in `workspace.dependencies` matches latest version
- name: Enforce version in `workspace.dependencies` matches the latest version
if: env.CRATE != 'libp2p'
run: |
SPECIFIED_VERSION=$(tq "workspace.dependencies.$CRATE.version" --file ./Cargo.toml)
SPECIFIED_VERSION=$(tq "workspace.dependencies.$CRATE.version" -r --file ./Cargo.toml)

echo "Package version: $CRATE_VERSION";
echo "Specified version: $SPECIFIED_VERSION";

test "$CRATE_VERSION" = "$SPECIFIED_VERSION" || test "=$CRATE_VERSION" = "$SPECIFIED_VERSION"

- name: Enforce version in CHANGELOG.md matches version in manifest
- name: Enforce version in CHANGELOG.md matches the version in manifest
run: |
MANIFEST_PATH=$(cargo metadata --format-version=1 --no-deps | jq -e -r '.packages[] | select(.name == "'"$CRATE"'") | .manifest_path')
DIR_TO_CRATE=$(dirname "$MANIFEST_PATH")
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
os: ubuntu-latest
- target: "wasm32-unknown-emscripten"
os: ubuntu-latest
- target: "wasm32-wasi"
- target: "wasm32-wasip1"
os: ubuntu-latest
- target: "x86_64-apple-darwin"
os: macos-latest
Expand All @@ -149,7 +149,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
key: ${{ matrix.target }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -174,7 +174,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -195,7 +195,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
key: ${{ matrix.features }}
save-if: ${{ github.ref == 'refs/heads/master' }}
Expand All @@ -212,7 +212,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -225,7 +225,7 @@ jobs:
fail-fast: false
matrix:
rust-version: [
1.80.0, # current stable
1.83.0, # current stable
beta,
]
steps:
Expand All @@ -238,7 +238,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -254,7 +254,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
save-if: ${{ github.ref == 'refs/heads/master' }}

Expand All @@ -273,7 +273,7 @@ jobs:

- uses: r7kamura/rust-problem-matchers@9fe7ca9f6550e5d6358e179d451cc25ea6b54f98 #v1.5.0

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
with:
shared-key: stable-cache
save-if: false
Expand Down Expand Up @@ -308,7 +308,7 @@ jobs:
RUSTFLAGS: ''
steps:
- uses: actions/checkout@v4
- run: wget -q -O- https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.33.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C ~/.cargo/bin
- run: wget -q -O- https://github.com/obi1kenobi/cargo-semver-checks/releases/download/v0.36.0/cargo-semver-checks-x86_64-unknown-linux-gnu.tar.gz | tar -xz -C ~/.cargo/bin
shell: bash
- uses: obi1kenobi/cargo-semver-checks-action@7272cc2caa468d3e009a2b0a9cc366839348237b # v2.6

Expand All @@ -317,7 +317,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: dtolnay/rust-toolchain@stable
- uses: dtolnay/rust-toolchain@nightly
with:
components: rustfmt

Expand Down Expand Up @@ -365,7 +365,7 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7

- run: cargo install --version 0.10.0 pb-rs --locked

Expand All @@ -391,7 +391,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: Swatinem/rust-cache@23bce251a8cd2ffc3c1075eaa2367cf899916d84 # v2.7.3
- uses: Swatinem/rust-cache@f0deed1e0edfc6a9be95417288c0e1099b1eeec3 # v2.7.7
- run: cargo metadata --locked --format-version=1 > /dev/null

cargo-deny:
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ on:
- 'master'
tags:
- 'libp2p-server-**'
pull_request:

jobs:
server:
Expand Down Expand Up @@ -34,11 +33,6 @@ jobs:
with:
context: .
file: ./misc/server/Dockerfile
push: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' }} # Only push image if we have the required permissions, i.e. not running from a fork
cache-from: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server }}
cache-to: ${{ ! github.event.pull_request.head.repo.fork && github.actor != 'dependabot[bot]' && type=s3,mode=max,bucket=libp2p-by-tf-aws-bootstrap,region=us-east-1,prefix=buildCache,name=rust-libp2p-server }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
env:
AWS_ACCESS_KEY_ID: ${{ vars.TEST_PLANS_BUILD_CACHE_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.TEST_PLANS_BUILD_CACHE_KEY }}
Loading
Loading