Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
e20bd9b1d2
commit
18e2d70f21
2 changed files with 26 additions and 0 deletions
25
.forgejo/workflows/lint.yaml
Normal file
25
.forgejo/workflows/lint.yaml
Normal file
|
@ -0,0 +1,25 @@
|
|||
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
|
||||
- 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