Feat 修改版本cdn问题 #683
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: check CI | |
on: | |
pull_request: | |
branches: [master, deploy] | |
paths-ignore: | |
- "**.md" | |
- "**.py" | |
- "**.json" | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: -D warnings | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
submodules: true | |
- name: Rust toolchain Stable | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: 1.80.1 | |
components: clippy | |
default: true | |
- name: Rust toolchain Nightly | |
uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly | |
components: rustfmt | |
- name: Install Protoc | |
uses: arduino/setup-protoc@v1 | |
- run: ls -l ./assets/proto/protos | |
- run: cargo +nightly fmt --check | |
- run: cargo clippy |