Skip to content

优化代码。

优化代码。 #8

Workflow file for this run

name: Rust
on:
push:
branches: [ "main", "newsign" ]
pull_request:
branches: [ "main", "newsign" ]
env:
CARGO_TERM_COLOR: always
jobs:
check:
name: Rust project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
components: rustfmt, clippy
- name: Run cargo check
uses: actions-rs/cargo@v1
with:
command: check