Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e20bd9b1d2
commit
aa9e12de3b
2 changed files with 27 additions and 0 deletions
26
.forgejo/workflows/lint.yaml
Normal file
26
.forgejo/workflows/lint.yaml
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
name: 'Lint'
|
||||||
|
run-name: 'Linting xmpp-rs repository'
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
|
||||||
|
push:
|
||||||
|
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- 'opened'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
rustfmt:
|
||||||
|
runs-on: 'docker'
|
||||||
|
container:
|
||||||
|
image: 'rust:slim'
|
||||||
|
steps:
|
||||||
|
# - name: Install deps
|
||||||
|
# run: apt-get update; apt-get install -y --no-install-recommends pkg-config libssl-dev libicu-dev
|
||||||
|
- name: Print versions
|
||||||
|
run: rustc --version; cargo --version
|
||||||
|
- name: Checkout
|
||||||
|
uses: actions/checkout@v4
|
||||||
|
runs-on: 'node:16-bullseye'
|
||||||
|
- name: Rustfmt
|
||||||
|
run: rustup component add rustfmt; cargo fmt --check
|
1
.gitea
Symbolic link
1
.gitea
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
.forgejo
|
Loading…
Reference in a new issue