Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 38551c4

Browse files
0xmountaintopHAOYUatHZ
and
HAOYUatHZ
authoredSep 2, 2023
refactor: rename bridge to rollup (#644)
Co-authored-by: HAOYUatHZ <HAOYUatHZ@users.noreply.github.com>
1 parent 8233062 commit 38551c4

File tree

86 files changed

+380
-380
lines changed

Some content is hidden

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

86 files changed

+380
-380
lines changed
 

‎.github/workflows/integration.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Build prerequisites
3737
run: |
3838
make dev_docker
39-
make -C bridge mock_abi
39+
make -C rollup mock_abi
4040
make -C common/bytecode all
4141
- name: Run integration tests
4242
run: |

‎.github/workflows/bridge.yml renamed to ‎.github/workflows/rollup.yml

+17-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Bridge
1+
name: Rollup
22

33
on:
44
push:
@@ -8,23 +8,23 @@ on:
88
- develop
99
- alpha
1010
paths:
11-
- 'bridge/**'
11+
- 'rollup/**'
1212
- 'common/**'
1313
- '!common/version/version.go'
1414
- 'database/**'
15-
- '.github/workflows/bridge.yml'
15+
- '.github/workflows/rollup.yml'
1616
pull_request:
1717
types:
1818
- opened
1919
- reopened
2020
- synchronize
2121
- ready_for_review
2222
paths:
23-
- 'bridge/**'
23+
- 'rollup/**'
2424
- 'common/**'
2525
- '!common/version/version.go'
2626
- 'database/**'
27-
- '.github/workflows/bridge.yml'
27+
- '.github/workflows/rollup.yml'
2828

2929
jobs:
3030
check:
@@ -46,7 +46,7 @@ jobs:
4646
- name: Install Geth Tools
4747
uses: gacts/install-geth-tools@v1
4848
- name: Lint
49-
working-directory: 'bridge'
49+
working-directory: 'rollup'
5050
run: |
5151
rm -rf $HOME/.cache/golangci-lint
5252
make mock_abi
@@ -64,14 +64,14 @@ jobs:
6464
- name: Install goimports
6565
run: go install golang.org/x/tools/cmd/goimports
6666
- name: Run goimports lint
67-
run: goimports -local scroll-tech/bridge/ -w .
68-
working-directory: 'bridge'
67+
run: goimports -local scroll-tech/rollup/ -w .
68+
working-directory: 'rollup'
6969
- name: Run go mod tidy
7070
run: go mod tidy
71-
working-directory: 'bridge'
71+
working-directory: 'rollup'
7272
# If there are any diffs from goimports or go mod tidy, fail.
7373
- name: Verify no changes from goimports and go mod tidy
74-
working-directory: 'bridge'
74+
working-directory: 'rollup'
7575
run: |
7676
if [ -n "$(git status --porcelain)" ]; then
7777
exit 1
@@ -97,21 +97,21 @@ jobs:
9797
- name: Build prerequisites
9898
run: |
9999
make dev_docker
100-
make -C bridge mock_abi
101-
- name: Build bridge binaries
102-
working-directory: 'bridge'
100+
make -C rollup mock_abi
101+
- name: Build rollup binaries
102+
working-directory: 'rollup'
103103
run: |
104-
make bridge_bins
105-
- name: Test bridge packages
106-
working-directory: 'bridge'
104+
make rollup_bins
105+
- name: Test rollup packages
106+
working-directory: 'rollup'
107107
run: |
108108
go test -v -race -gcflags="-l" -ldflags="-s=false" -coverprofile=coverage.txt -covermode=atomic ./...
109109
- name: Upload coverage reports to Codecov
110110
uses: codecov/codecov-action@v3
111111
env:
112112
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
113113
with:
114-
flags: bridge
114+
flags: rollup
115115
# docker-build:
116116
# if: github.event.pull_request.draft == false
117117
# runs-on: ubuntu-latest
There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.