Skip to content
Snippets Groups Projects
Verified Commit 1a802d5c authored by João Magalhães's avatar João Magalhães :rocket:
Browse files

fix: cargo fmt automation

parent 7273ef82
No related branches found
No related tags found
No related merge requests found
Pipeline #1842 canceled
......@@ -22,3 +22,21 @@ jobs:
- run: cargo clippy
- run: cargo build
- run: cargo build --release
build-wasm:
name: Build WASM
timeout-minutes: 10
strategy:
matrix:
rust-version: ["1.56.1", "1.60.0", "1.65.0", "latest"]
runs-on: ubuntu-latest
container: rust:${{ matrix.rust-version }}
steps:
- uses: actions/checkout@v1
- run: |
rustup component add rustfmt
rustup component add clippy
- run: rustc --version
- run: cargo fmt --all -- --check
- run: cargo clippy
- run: cargo build
- run: cargo build --release
......@@ -33,7 +33,7 @@ build-rust:
- rustup component add rustfmt
- rustup component add clippy
- rustc --version
- cargo fmt --check
- cargo fmt --all -- --check
- cargo clippy
- cargo build
- cargo build --release
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment