Skip to content

Commit

Permalink
Merge pull request #63 from aurora-is-near/feat/stable-toolchain
Browse files Browse the repository at this point in the history
Feat: switch to stable Rust toolchain
  • Loading branch information
mrLSD authored Sep 21, 2023
2 parents 4a53bdb + 4652c16 commit 1a95a10
Show file tree
Hide file tree
Showing 4 changed files with 377 additions and 378 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,28 @@ jobs:
steps:
- name: Clone the repository
uses: actions/checkout@v2
- name: Build mainnet test WASM
run: cargo make --profile mainnet build-test
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry sandbox:${{ env.NEAR_SANDBOX_BIN_PATH }}
- name: Install sandbox
run: |
if [[ ! -f ${{ env.NEAR_SANDBOX_BIN_PATH }} ]]; then
rm -rf nearcore
git clone --depth 1 --branch 1.35.0 https://github.com/near/nearcore
cd nearcore
make sandbox-release
cp target/release/near-sandbox $HOME/bin/
cache-util save sandbox:${{ env.NEAR_SANDBOX_BIN_PATH }}
cd ../
rm -rf nearcore
fi
- name: Test mainnet
run: cargo make --profile mainnet test-workspace
run: cargo make --profile mainnet test
- name: Save cache
run: |
cache-util save cargo_git cargo_registry
env:
NEAR_SANDBOX_BIN_PATH: /usr/local/bin/near-sandbox
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
Loading

0 comments on commit 1a95a10

Please sign in to comment.