Skip to content

Commit

Permalink
Merge pull request #98 from Magport/Magnet-release-0.7.0
Browse files Browse the repository at this point in the history
Magnet release 0.7.0
  • Loading branch information
wd30130 authored Jun 28, 2024
2 parents f3ca801 + 9d9aff6 commit a9c8711
Show file tree
Hide file tree
Showing 15 changed files with 2,633 additions and 1,033 deletions.
27 changes: 21 additions & 6 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@ name: Rust

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

env:
CARGO_TERM_COLOR: always
Expand Down Expand Up @@ -34,13 +36,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 +62,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 a9c8711

Please sign in to comment.