From 1c0a860e7bb8126bdfad01ac8775ee042fdd5fe1 Mon Sep 17 00:00:00 2001 From: Oleksandr Anyshchenko Date: Tue, 1 Oct 2024 09:13:02 +0100 Subject: [PATCH] ci: install cargo make --- .github/workflows/scheduled_lints.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/scheduled_lints.yml b/.github/workflows/scheduled_lints.yml index cff846116..09a79994a 100644 --- a/.github/workflows/scheduled_lints.yml +++ b/.github/workflows/scheduled_lints.yml @@ -1,7 +1,7 @@ --- on: schedule: - - cron: '0 8 * * 1-5' + - cron: '30 8 * * 1-5' name: Scheduled checks jobs: tests: @@ -17,6 +17,26 @@ jobs: 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 install cargo-make - name: Build actual neard-sandbox run: scripts/build-neard-sandbox.sh ${{ matrix.profile }} - name: Test ${{ matrix.profile }}