Skip to content

👷 add json and yaml lint #1

👷 add json and yaml lint

👷 add json and yaml lint #1

Workflow file for this run

name: pr_check
on:
workflow_dispatch:
push:
pull_request:
branches: [main]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2.3.1
- name: install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal
- name: Install trunk
uses: jetli/trunk-action@v0.4.0
with:
version: "latest"
- name: Build
run: trunk build
- name: Run tests
run: cargo test --verbose