Skip to content

update testdata//linux #49

update testdata//linux

update testdata//linux #49

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ "**" ]
workflow_dispatch:
env:
RUST_BACKTRACE: 1
RUST_LOG: info
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: Swatinem/rust-cache@v2
- uses: jetli/wasm-pack-action@v0.4.0
- run: wasm-pack build --target web
- run: rm pkg/.gitignore
- name: Push pkg/
uses: s0/git-publish-subdir-action@develop
env:
REPO: self
BRANCH: dist
FOLDER: pkg
MESSAGE: "{sha}: {msg}"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: cargo build
- run: cargo test -- --nocapture