Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e20bd9b1d2
commit
e3bbda288c
1 changed files with 24 additions and 0 deletions
24
.gitea/workflows/lint.yaml
Normal file
24
.gitea/workflows/lint.yaml
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
name: 'Lint'
|
||||||
|
run-name: 'Linting xmpp-rs repository'
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
push:
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- 'opened'
|
||||||
|
|
||||||
|
# Foo
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
rustfmt:
|
||||||
|
runs-on: 'docker'
|
||||||
|
image: 'rust:slim'
|
||||||
|
steps:
|
||||||
|
- run: echo Foo
|
||||||
|
# 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