Skip to content

Commit 8282165

Browse files
committed
chore: update entagler dep and prep for crates
wip: use workspace to set version move all path deps into workspace root fix fmt update versions for publish update release.yaml workflow publish order wip: updating sol facade deps update release workflow update contracts after rebase fix recall contracts submodule update tool chain to 1.83.0 fix lint remove lifetimes that can be elided, fix make lint
1 parent 5fdb3c9 commit 8282165

File tree

321 files changed

+4686
-4507
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

321 files changed

+4686
-4507
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: ./.github/actions/install-tools
2727
with:
2828
repo-token: ${{ secrets.GITHUB_TOKEN }}
29-
rust: 1.81.0
29+
rust: 1.83.0
3030

3131
- name: Install Node.js
3232
uses: actions/setup-node@v2

.github/workflows/docker-publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
uses: ./.github/actions/install-tools
3232
with:
3333
repo-token: ${{ secrets.GITHUB_TOKEN }}
34-
rust: 1.81.0
34+
rust: 1.83.0
3535

3636
# Not restoring Solidity artifact cache because of supply side attack potential.
3737

.github/workflows/release.yaml

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
name: Release
2+
3+
on:
4+
workflow_dispatch:
5+
6+
env:
7+
CARGO_TERM_COLOR: always
8+
CARGO_NET_GIT_FETCH_WITH_CLI: true
9+
10+
jobs:
11+
build-and-publish:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- name: Install Rust
18+
uses: actions-rs/toolchain@v1
19+
with:
20+
toolchain: stable
21+
profile: minimal
22+
override: true
23+
components: rustfmt, clippy
24+
25+
- name: Build
26+
run: make build
27+
28+
- name: Run tests
29+
run: make test
30+
31+
- name: Run linter
32+
run: make lint
33+
34+
- name: Get version from Cargo.toml
35+
id: get_ver
36+
uses: dante-signal31/rust-app-version@v1.2.0
37+
38+
- name: Tag
39+
uses: actions/github-script@v5
40+
id: create-tag
41+
with:
42+
github-token: ${{ secrets.GITHUB_TOKEN }}
43+
script: |
44+
await github.rest.git.createRef({
45+
owner: context.repo.owner,
46+
repo: context.repo.repo,
47+
ref: 'refs/tags/${{ steps.get_ver.outputs.app_version }}',
48+
sha: context.sha
49+
})
50+
51+
- name: Publish
52+
run: |
53+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_frc42_hasher
54+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_frc42_macros
55+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_frc42_dispatch
56+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_ipld
57+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_actor_sdk
58+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_blobs_shared
59+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_machine
60+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_bucket
61+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_recall_config_shared
62+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_recall_config
63+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_timehub
64+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_crypto
65+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_actor_eam
66+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_ipc_actors_abis
67+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_ipc_types
68+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_merkle_tree_rs
69+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_ipc_api
70+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_testing
71+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_vm_core
72+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_vm_encoding
73+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_vm_genesis
74+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_vm_actor_interface
75+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_vm_message
76+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_rpc
77+
cargo publish --locked --token ${{ secrets.CARGO_REGISTRY_TOKEN }} --package recall_fendermint_eth_api
78+
79+
- name: Release 🚀
80+
uses: ncipollo/release-action@v1
81+
with:
82+
tag: ${{ steps.get_ver.outputs.app_version }}
83+
generateReleaseNotes: true
84+
prerelease: ${{ contains(steps.get_ver.outputs.app_version, 'pre') }}
85+
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/tests-e2e.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: ./.github/actions/install-tools
2727
with:
2828
repo-token: ${{ secrets.GITHUB_TOKEN }}
29-
rust: 1.81.0
29+
rust: 1.83.0
3030

3131
- name: Download Docker image
3232
uses: actions/download-artifact@v4

.github/workflows/tests-unit.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
uses: ./.github/actions/install-tools
2727
with:
2828
repo-token: ${{ secrets.GITHUB_TOKEN }}
29-
rust: 1.81.0
29+
rust: 1.83.0
3030

3131
- name: Cache Solidity ABI artifacts
3232
uses: actions/cache@v4

0 commit comments

Comments
 (0)