Skip to content

Commit

Permalink
add wasm setup
Browse files Browse the repository at this point in the history
  • Loading branch information
piotr-roslaniec committed Nov 7, 2022
1 parent 1022ab2 commit 5c93677
Show file tree
Hide file tree
Showing 17 changed files with 356 additions and 83 deletions.
34 changes: 0 additions & 34 deletions .github/workflows/build.yaml

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/manual.yml

This file was deleted.

50 changes: 50 additions & 0 deletions .github/workflows/workspace.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: Workspace

on:
pull_request:
paths-ignore:
- README.md
push:
branches:
- main
paths-ignore:
- README.md
tags:
- v*

env:
CARGO_INCREMENTAL: 0
RUSTFLAGS: "-Dwarnings"

jobs:
clippy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: clippy
override: true
profile: minimal
- run: cargo clippy --all --all-features -- -D warnings

rustfmt:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
uses: actions/checkout@v1

- name: Install stable toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
components: rustfmt
profile: minimal
override: true

- name: Run cargo fmt
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
Loading

0 comments on commit 5c93677

Please sign in to comment.