Skip to content

Commit

Permalink
Merge branch 'develop' of github.com:aurora-is-near/aurora-engine int…
Browse files Browse the repository at this point in the history
…o feat/eip-7702
  • Loading branch information
mrLSD committed Oct 8, 2024
2 parents 976248f + ee62168 commit 795b5dc
Showing 1 changed file with 37 additions and 5 deletions.
42 changes: 37 additions & 5 deletions .github/workflows/scheduled_lints.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,53 @@
---
on:
schedule:
- cron: '0 8 * * 1-5'
- cron: '0 9 * * 1-5'
name: Scheduled checks
jobs:
tests:
name: Run tests
runs-on: [ self-hosted, heavy ]
runs-on: github-hosted-heavy-runner
strategy:
fail-fast: false
matrix:
profile: [ mainnet, testnet ]
profile: [ mainnet, mainnet-silo, testnet, testnet-silo ]
steps:
- name: Potential broken submodules fix
run: |
git checkout -f $(git -c user.name=x -c user.email=x@x commit-tree $(git hash-object -t tree /dev/null) < /dev/null) || :
- name: Clone the repository
uses: actions/checkout@v4
- name: Cargo Cache
uses: actions/cache@v4
with:
path: |
~/.cargo/bin/
~/.cargo/registry/index/
~/.cargo/registry/cache/
~/.cargo/git/db/
target/
key: ${{ matrix.profile }}-cargo-test
- name: Setup Node and cache
uses: actions/setup-node@v4
with:
node-version: 16
cache: 'yarn'
cache-dependency-path: |
etc/eth-contracts
etc/tests/uniswap
- name: Install cargo-make
run: cargo +stable make -V || cargo +stable install cargo-make
- name: Build actual neard-sandbox
run: scripts/build-neard-sandbox.sh ${{ matrix.profile }}
- name: Test ${{ matrix.profile }}
run: cargo make --profile ${{ matrix.profile }} test-flow
- name: Test ${{ matrix.profile }}-silo
run: cargo make --profile ${{ matrix.profile }}-silo test-flow
- uses: 8398a7/action-slack@v3
if: failure()
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

checks:
name: Run checks
Expand All @@ -34,3 +59,10 @@ jobs:
- name: Clone the repository
uses: actions/checkout@v4
- run: cargo make check
- uses: 8398a7/action-slack@v3
if: failure()
with:
status: ${{ job.status }}
fields: repo,message,commit,author,action,eventName,job,took
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

0 comments on commit 795b5dc

Please sign in to comment.