Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e20bd9b1d2
commit
7a79d7989a
1 changed files with 22 additions and 0 deletions
22
.gitea/workflows/lint.yaml
Normal file
22
.gitea/workflows/lint.yaml
Normal file
|
@ -0,0 +1,22 @@
|
|||
name: 'Lint'
|
||||
run-name: 'Linting xmpp-rs repository'
|
||||
on:
|
||||
workflow_dispatch:
|
||||
|
||||
push:
|
||||
|
||||
pull_request:
|
||||
types:
|
||||
- 'opened'
|
||||
|
||||
jobs:
|
||||
rustfmt:
|
||||
runs-on: 'docker'
|
||||
image: 'rust:slim'
|
||||
steps:
|
||||
- run: |
|
||||
apt-get update; apt-get install -y --no-install-recommends pkg-config libssl-dev libicu-dev
|
||||
rustup component add rustfmt
|
||||
rustc --version
|
||||
cargo --version
|
||||
cargo fmt --check
|
Loading…
Reference in a new issue