Skip to content

Try again

Try again #44

Workflow file for this run

---
name: Rust compile & test
on:
push:
branches:
- develop
pull_request:
branches:
- develop
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
env:
CARGO_TERM_COLOR: always
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@stable
with:
components: clippy
targets: wasm32-unknown-unknown
- name: Install wasm-pack
run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh
- uses: taiki-e/install-action@nextest
- uses: Swatinem/rust-cache@v2
- run: cargo check --tests --benches
- run: cargo build --verbose
- run: cargo clippy -- -D warnings
- name: Run tests (Native)
run: cargo nextest run --verbose --release
- name: Run tests (WASM)
run: wasm-pack test --release --headless --chrome
- name Upload test results
if: startsWith(github.ref, 'refs/tags/')

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

View workflow run for this annotation

GitHub Actions / .github/workflows/rust.yml

Invalid workflow file

You have an error in your yaml syntax on line 38
uses: softprops/action-gh-release@v1
with:
files: target/nextest/default/junit.xml