Skip to content

Merge branch 'main' of https://gitlab.com/mech-lang/mech #77

Merge branch 'main' of https://gitlab.com/mech-lang/mech

Merge branch 'main' of https://gitlab.com/mech-lang/mech #77

Workflow file for this run

name: Rust
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: windows-latest
steps:
- name: Setup
run: rustup default nightly-2024-05-26
- name: Build
run: wasm-pack --version
run: wasm-pack build wasm-notebook --target web

Check failure on line 22 in .github/workflows/rust.yml

View workflow run for this annotation

GitHub Actions / Rust

Invalid workflow file

The workflow is not valid. .github/workflows/rust.yml (Line: 22, Col: 7): 'run' is already defined .github/workflows/rust.yml (Line: 23, Col: 7): 'run' is already defined
run: cargo build --bin mech --release
- name: Run tests
run: cargo test --package mech-syntax --release