Skip to content

Compute@Edge -> Fastly Compute #20

Compute@Edge -> Fastly Compute

Compute@Edge -> Fastly Compute #20

Workflow file for this run

name: CI
on:
- pull_request
- push
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Install stable Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: stable
default: true
override: true
- name: Validate witx
run: |
cargo install witx-codegen
for i in rust assemblyscript zig markdown overview; do
witx-codegen -t "$i" witx-next/*.witx > /dev/null || exit 1
done
- name: Check indentation
run: |
cargo install witx-indent
find . -name '*.witx' | while read -r f; do
witx-indent "$f" >"${f}.indented"
if ! cmp "$f" "${f}.indented"; then
echo "* [${f}] is not properly indented:" >&2
diff -u "$f" "${f}.indented" >&2
exit 1
fi
rm -f "${f}.indented"
done