提交 14cb61b8 authored 作者: Serhij S's avatar Serhij S

act

上级 ac924182
name: Rust
name: Rust check
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
CARGO_TERM_COLOR: always
jobs:
build:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Cargo test
run: cargo test --verbose
run: cargo test --verbose --locked --all-features --all-targets
fmt:
runs-on: ubuntu-latest
steps:
- name: Cargo fmt
run: cargo fmt --check
- name: cargo machete
run: cargo machete
clippy:
runs-on: ubuntu-latest
- name: clippy
run: |
cargo clippy -- -W clippy::all -W clippy::pedantic \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论