提交 45851e4a authored 作者: Serhij S's avatar Serhij S

act

上级 8e089a30
...@@ -12,19 +12,20 @@ jobs: ...@@ -12,19 +12,20 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3
- name: cargo test - name: cargo test
uses: actions/checkout@v3
run: cargo test --verbose --locked --all-features --all-targets run: cargo test --verbose --locked --all-features --all-targets
fmt: fmt:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: cargo fmt - name: cargo fmt
uses: actions/checkout@v3
run: cargo fmt --check run: cargo fmt --check
clippy: clippy:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: cargo clippy - name: cargo clippy
- name: clippy uses: actions/checkout@v3
run: | run: |
cargo clippy -- -W clippy::all -W clippy::pedantic \ cargo clippy -- -W clippy::all -W clippy::pedantic \
-A clippy::used-underscore-binding \ -A clippy::used-underscore-binding \
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论