Skip to content

Autoreload and multi-source language loading (#117) #205

Autoreload and multi-source language loading (#117)

Autoreload and multi-source language loading (#117) #205

Workflow file for this run

name: Rust
on:
pull_request:
push:
branches: [ master ]
jobs:
test:
name: Test Suite
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: nightly
override: true
- uses: actions-rs/cargo@v1
with:
command: test
args: --all --all-features -- --test-threads 1
fmt:
name: Rustfmt
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- uses: actions-rs/cargo@v1
with:
command: fmt
args: --all -- --check
clippy:
name: Clippy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions-rs/toolchain@v1
with:
toolchain: nightly
components: clippy
override: true
# Note that there is no release tag available yet
# and the following code will use master branch HEAD
# all the time.
- uses: actions-rs/clippy@master
with:
args: --all-features