Skip to content

Commit

Permalink
Bump to near-workspace 0.9.0 (#37)
Browse files Browse the repository at this point in the history
* Set stable toolchain and refactored Cargo.toml and CI

* CI - set env variable

* Update cargo workspace

* Moved to near-workspace

* Update dependencies and fix CI

* Fix NearToken type and fix CI

* Set engin version
  • Loading branch information
mrLSD authored Nov 7, 2023
1 parent 478465b commit c51c99c
Show file tree
Hide file tree
Showing 29 changed files with 224 additions and 3,718 deletions.
33 changes: 28 additions & 5 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,34 @@ jobs:
name: Checks
runs-on: [self-hosted, heavy]
steps:
- name: Checkout sources
uses: actions/checkout@v2
- name: Add toolchain
run: rustup target add wasm32-unknown-unknown
- name: Run checks
- name: Install rust
run: |
rustup show
rustup default ${{ env.RUST_VERSION }}
- name: Clone the repository
uses: actions/checkout@v4
- name: Run all checks
run: make check
test:
name: Tests
runs-on: [self-hosted, heavy]
steps:
- name: Install rust
run: |
rustup show
rustup default ${{ env.RUST_VERSION }}
- name: Clone the repository
uses: actions/checkout@v4
- name: Restore cache
run: |
cache-util restore cargo_git cargo_registry
- name: Run tests
run: make test
- name: Save cache
run: |
cache-util save cargo_git cargo_registry
env:
RUST_VERSION: 1.73.0
CARGO_TERM_COLOR: always
CARGO_INCREMENTAL: 0
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ target/
**/*.rs.bk
bin/
.idea
Cargo.lock

# MacOS index files
.DS_Store
Loading

0 comments on commit c51c99c

Please sign in to comment.