Skip to content

Commit

Permalink
👷 add json and yaml lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ad2ien committed Oct 20, 2023
1 parent 854dbff commit cd5ad13
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 33 deletions.
39 changes: 39 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
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/[email protected]

- name: install toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
target: wasm32-unknown-unknown
override: true
profile: minimal

- name: Install trunk
uses: jetli/[email protected]
with:
version: "latest"

- name: Build
run: trunk build

- name: Run tests
run: cargo test --verbose
33 changes: 0 additions & 33 deletions .github/workflows/pr_check.yml

This file was deleted.

0 comments on commit cd5ad13

Please sign in to comment.