Skip to content

Add Release CI

Add Release CI #430

Workflow file for this run

name: Rust
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: self-hosted
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: Build
run: |
cargo build --all-targets --all-features --locked -q
cargo build --all-targets --no-default-features --locked -q
- name: Run Unit tests
run: cargo test --locked -- --nocapture
- name: Run UI tests
run: cargo test --locked -- --nocapture --ignored
- name: Clippy
run: |
cargo clippy --all-targets --all-features --tests -q
cargo clippy --all-targets --no-default-features -q
- name: Format
run: cargo fmt --check