Skip to content

Commit 42a522b

Browse files
Bumped Rust to 1.81. Added governor as dependency
Removed governor submodule. Removed local submodule governor. Updated README. In CI, do not fetch submodules anymore Set max batch size (AcalaNetwork#183) config max subscriptions per connection (AcalaNetwork#198) Clippy, and use official rust in CI Bumped runners
1 parent e1d3fc3 commit 42a522b

File tree

19 files changed

+1230
-890
lines changed

19 files changed

+1230
-890
lines changed

.github/workflows/_check-vars-and-secrets.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
jobs:
99
main:
1010
name: Check available vars and secrets
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-24.04
1212
steps:
1313
- name: Check vars
1414
run: |
@@ -30,4 +30,4 @@ jobs:
3030
echo '!!! Some repository secrets are either missing or empty.'
3131
echo '!!! Please check either repository or organization settings.'
3232
exit 1
33-
fi
33+
fi

.github/workflows/build.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,10 @@ jobs:
2323
build-and-push-subway:
2424
name: Build and push subway image
2525
needs: [check-vars-and-secrets]
26-
runs-on: ubuntu-20.04
26+
runs-on: ubuntu-24.04
2727
steps:
2828
- name: GIT | Checkout Source code
2929
uses: actions/checkout@v4
30-
with:
31-
submodules: recursive
3230

3331
- name: Call action get-ref-properties
3432
id: get-ref-properties

.github/workflows/release.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ jobs:
1616

1717
- name: GIT | Checkout Source code
1818
uses: actions/checkout@v4
19-
with:
20-
submodules: recursive
2119

2220
- name: GIT | Get branch info & current commit sha.
2321
id: vars

.github/workflows/test.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,13 @@ jobs:
2222
- name: Install toolchain
2323
uses: dtolnay/rust-toolchain@stable
2424
with:
25-
toolchain: nightly-2024-02-09
25+
toolchain: 1.81
2626
components: rustfmt, clippy
2727
- uses: actions/checkout@v4
28-
with:
29-
submodules: recursive
3028
- name: Check format
31-
run: cargo +nightly-2024-02-09 fmt --all -- --check
29+
run: cargo fmt --all -- --check
3230
- name: Check clippy
33-
run: cargo +nightly-2024-02-09 clippy --all-targets --all-features -- -D warnings
31+
run: cargo clippy --all-targets --all-features -- -D warnings
3432
- name: Build
3533
run: cargo build --verbose
3634
- name: Run tests

.gitmodules

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)