Skip to content

Commit

Permalink
Merge branch 'main-develop' into Stack-Coretime
Browse files Browse the repository at this point in the history
  • Loading branch information
sulijia authored Jun 20, 2024
2 parents 2bc148a + 8aa1eed commit d73a856
Show file tree
Hide file tree
Showing 8 changed files with 2,419 additions and 986 deletions.
21 changes: 17 additions & 4 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@ name: Rust

on:
push:
branches:
branches:
- '**'
pull_request:
branches:
branches:
- '**'

env:
Expand Down Expand Up @@ -34,13 +34,16 @@ jobs:
override: true
components: rustfmt, clippy

- name: Install smove
run: cargo install --git https://github.com/eigerco/smove

- name: Install protoc
run: |
sudo apt-get install -y protobuf-compiler
protoc --version
- uses: actions/checkout@v3

- name: Rustfmt
uses: actions-rs/cargo@v1
with:
Expand All @@ -57,8 +60,18 @@ jobs:
- name: Add rust-src
run: |
rustup component add rust-src
- name: Cargo Clean
run: cargo clean

- name: Remove Cargo.lock
run: rm Cargo.lock

- name: Cargo Update
run: cargo update

- name: Build
run: cargo check --release

- name: Run tests
run: cargo test --release --locked --verbose --all
Loading

0 comments on commit d73a856

Please sign in to comment.