chore: auto update changelogs #101
Workflow file for this run
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: 'Code style' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- labeled | |
merge_group: | |
types: [checks_requested] | |
branches: | |
- main | |
env: | |
# When getting Rust dependencies, retry on network error: | |
CARGO_NET_RETRY: 10 | |
# Use the local .curlrc | |
CURL_HOME: . | |
jobs: | |
rust: | |
name: 'consistent-style:required' | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Checkout' | |
uses: actions/checkout@v3 | |
- uses: ./.github/actions/setup-rust | |
- name: 'Format code' | |
run: cargo fmt --all -- --check | |
env: | |
RUST_BACKTRACE: 1 | |
- name: 'Lint code' | |
run: cargo clippy --verbose --tests --benches --workspace -- -D clippy::all | |
env: | |
RUST_BACKTRACE: 1 |