From 8fd8601cb64fba594bce87d74d2c9dcbc1cbf8d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Magalh=C3=A3es?= <joamag@gmail.com> Date: Fri, 9 Dec 2022 15:56:03 +0000 Subject: [PATCH] feat: commented GitHub Actions --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 8c9b794e..f59a7113 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -25,11 +25,17 @@ jobs: - run: | rustup component add rustfmt rustup component add clippy + name: Install Rust components - run: rustc --version + name: Print Rust information - run: cargo fmt --all -- --check + name: Verify Rust code format - run: cargo clippy -- -D warnings -A unknown-lints + name: Verify Rust code linting - run: cargo build + name: Build development version - run: cargo build --release + name: Build release version build-wasm: name: Build WASM timeout-minutes: 30 @@ -51,10 +57,18 @@ jobs: - run: | rustup component add rustfmt rustup component add clippy + name: Install Rust components - run: rustc --version + name: Print Rust information - run: cargo fmt --all -- --check + name: Verify Rust code format - run: cargo clippy -- -D warnings -A unknown-lints + name: Verify Rust code linting - run: cargo install wasm-pack + name: Install wasm-pack - run: wasm-pack build --release --target=web --out-dir=frontends/web/lib -- --features wasm + name: Build WASM Web binary - run: apt-get update && apt-get install -y -q nodejs npm + name: Install Node.js - run: cd frontends/web && npm install && npm run build && npm run lint + name: Build and lint Web code -- GitLab