mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-04-20 12:45:05 +00:00
* Upgrade dependencies, oneshot channel ref * New service style? * Fix warning * A server is running again * Working server with async blocks * UI working again * Finish upgrade * Bump MSRV to 1.46.0 for if/match in const fn * Update the README as part of this
39 lines
636 B
YAML
39 lines
636 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- master
|
|
|
|
pull_request:
|
|
branches:
|
|
- master
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
rust_version: [stable, "1.46.0"]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v1
|
|
with:
|
|
submodules: true
|
|
|
|
- name: Setup Rust toolchain
|
|
run: rustup default ${{ matrix.rust_version }}
|
|
|
|
- name: Build
|
|
run: cargo build --locked --verbose
|
|
|
|
- name: Run tests
|
|
run: cargo test --locked --verbose
|
|
|
|
- name: Rustfmt and Clippy
|
|
run: |
|
|
cargo fmt -- --check
|
|
cargo clippy
|
|
if: matrix.rust_version == 'stable' |