Skip to content

Merge pull request #56 from flatcar/dongsu/cleanup-crates #138

Merge pull request #56 from flatcar/dongsu/cleanup-crates

Merge pull request #56 from flatcar/dongsu/cleanup-crates #138

Workflow file for this run

name: "Run CI"
on:
push:
branches:
- trunk
pull_request:
branches:
- trunk
jobs:
build-test:
name: Build and test ue-rs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- run: rustup component add rustfmt
- name: Rustfmt Check
uses: actions-rs/cargo@v1
with:
command: fmt
args: --all --check
- name: Build ue-rs
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: --workspace -- --deny warnings