From 92709e486357e335544426ff638b37f734533def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Thu, 16 Nov 2023 15:37:55 +0100 Subject: [PATCH] WIP Actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- .gitea/workflows/lint.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .gitea/workflows/lint.yaml diff --git a/.gitea/workflows/lint.yaml b/.gitea/workflows/lint.yaml new file mode 100644 index 00000000..813281ea --- /dev/null +++ b/.gitea/workflows/lint.yaml @@ -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' + container: + 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