Bump cross-spawn from 7.0.3 to 7.0.6 in /js/ui #205
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: push | |
env: | |
CARGO_TERM_COLOR: always | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
include: | |
- cargo_target: "x86_64-unknown-linux-gnu" | |
- cargo_target: "wasm32-unknown-unknown" | |
steps: | |
- name: Clone repo | |
uses: actions/checkout@v3 | |
- name: Add targets | |
run: rustup target add wasm32-unknown-unknown | |
- uses: Swatinem/rust-cache@v2 | |
- name: Docker Compose | |
run: docker-compose -f test/docker-compose.yml up -d redis | |
- name: Build | |
env: | |
CARGO_BUILD_TARGET: ${{ matrix.cargo_target }} | |
run: cargo build | |
- name: Clippy | |
env: | |
CARGO_BUILD_TARGET: ${{ matrix.cargo_target }} | |
run: cargo clippy | |
- name: Fmt | |
env: | |
CARGO_BUILD_TARGET: ${{ matrix.cargo_target }} | |
run: cargo fmt -- --check | |
- name: Test | |
if: matrix.cargo_target == 'x86_64-unknown-linux-gnu' | |
run: cargo test |