WIP Actions
Some checks failed
Lint / rustfmt (push) Failing after 2m41s

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2023-11-16 15:37:55 +01:00
parent e20bd9b1d2
commit 38fa3029dd
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2
2 changed files with 28 additions and 0 deletions

View file

@ -0,0 +1,27 @@
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: Setup node (Required for actions/checkout)
uses: actions/setup-node@v3
- name: Checkout
uses: actions/checkout@v4
- name: Rustfmt
run: rustup component add rustfmt; cargo fmt --check

1
.gitea Symbolic link
View file

@ -0,0 +1 @@
.forgejo