Skip to content

ci: add rust ci

ci: add rust ci #1

Workflow file for this run

name: Rust
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
CARGO_TERM_COLOR: always
RUST_BACKTRACE: full
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build
run: cargo build
check:
name: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Run linter
run: cargo check