diff --git a/.forgejo/workflows/lint.yaml b/.forgejo/workflows/lint.yaml new file mode 100644 index 00000000..e7fce4ed --- /dev/null +++ b/.forgejo/workflows/lint.yaml @@ -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' + - name: Rustfmt + run: rustup component add rustfmt; cargo fmt --check diff --git a/.gitea b/.gitea new file mode 120000 index 00000000..d9a4b42c --- /dev/null +++ b/.gitea @@ -0,0 +1 @@ +.forgejo \ No newline at end of file