Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion .github/workflows/lints.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
# See: https://github.com/actions-rs/example/blob/master/.github/workflows/nightly_lints.yml
---
on: [push, pull_request]
on:
push:
branches:
- master
- develop
pull_request:
branches:
- "*"

name: Lints
jobs:
fmt:
Expand Down
18 changes: 12 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
---
on: [push, pull_request]
on:
push:
branches:
- master
- develop
pull_request:
branches:
- "*"

name: Tests
jobs:
test:
Expand All @@ -15,10 +23,8 @@ jobs:
run: |
cache-util restore cargo_git cargo_registry sccache yarn_cache
cache-util restore aurora-engine-target@${{ matrix.net }}net@${{ hashFiles('**/Cargo.lock') }}:target
- run: rm -rf target/solidity_build/
- run: make ${{ matrix.net }}net-test-build
- name: Run ${{ matrix.net }}net cargo test
run: cargo test --locked --verbose --features ${{ matrix.net }}net-test
- run: make test-${{ matrix.net }}net
# - run: rm -rf target/solidity_build/
- name: Save cache
run: |
cache-util save cargo_git cargo_registry sccache yarn_cache
Expand All @@ -33,9 +39,9 @@ jobs:
run: |
cache-util restore cargo_git cargo_registry sccache yarn_cache
cache-util restore aurora-engine-target@bully@${{ hashFiles('**/Cargo.lock') }}:target
- run: rm -rf target/solidity_build/
- run: make mainnet-debug evm-bully=yes
- run: ls -lH mainnet-debug.wasm
# - run: rm -rf target/solidity_build/
- name: Save cache
run: |
cache-util save cargo_git cargo_registry sccache yarn_cache
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion etc/state-migration-test/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.