mirror of
https://github.com/maplibre/maplibre-rs.git
synced 2025-12-08 19:05:57 +00:00
Add check step
This commit is contained in:
parent
77ad2851cc
commit
f5ba477ace
13
.github/workflows/rust.yml
vendored
13
.github/workflows/rust.yml
vendored
@ -3,6 +3,19 @@ name: Rust
|
||||
on: [ push, pull_request ]
|
||||
|
||||
jobs:
|
||||
check:
|
||||
runs-on: ubuntu-20.04
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
steps:
|
||||
- name: Setup
|
||||
run: rustup component add rustfmt
|
||||
- name: Format
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Clippy
|
||||
run: cargo clippy --lib
|
||||
|
||||
build-x86:
|
||||
runs-on: ubuntu-20.04
|
||||
defaults:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user