gandi-live-dns-rust/.github/workflows/lint.yml

18 lines
420 B
YAML
Raw Normal View History

2022-08-22 21:12:57 -05:00
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