TypeScript Declaration Optional Feature #23
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: | |
push: | |
branches: | |
- main | |
- master | |
pull_request: | |
branches: | |
- main | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
rust_version: [stable, "1.63.0"] | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup Rust toolchain | |
run: rustup default ${{ matrix.rust_version }} | |
- name: Build | |
run: cargo build --all --locked --verbose | |
- name: Run tests | |
run: cargo test --all --locked --verbose | |
- name: Rustfmt and Clippy | |
run: | | |
cargo fmt -- --check | |
cargo clippy | |
if: matrix.rust_version == 'stable' |