mirror of
https://github.com/SeriousBug/gandi-live-dns-rust
synced 2024-11-14 19:37:27 -06:00
18 lines
420 B
YAML
18 lines
420 B
YAML
|
on: push
|
||
|
name: lint checks
|
||
|
jobs:
|
||
|
rust_lint:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- run: rustup component add clippy
|
||
|
- uses: actions-rs/clippy-check@v1
|
||
|
with:
|
||
|
token: ${{ secrets.GITHUB_TOKEN }}
|
||
|
args: --all-features
|
||
|
rust_format_check:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- run: cargo fmt --all --check
|