Skip to content

Merge pull request #3 from fastly/fastly-11 #20

Merge pull request #3 from fastly/fastly-11

Merge pull request #3 from fastly/fastly-11 #20

Workflow file for this run

on: push
name: Test
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Install Rust
uses: actions-rs/toolchain@v1
- name: Add wasm32-wasi Rust target
run: rustup target add wasm32-wasi
- name: Install rustfmt
run: rustup component add rustfmt
shell: bash
- name: Check formatting
run: cargo fmt --all -- --check
shell: bash
- name: Check source
run: cargo check
shell: bash
- name: Run tests
run: cargo test
shell: bash