From 24b7cb314431f05bf149fec5abe3bf55c4acf625 Mon Sep 17 00:00:00 2001 From: PurpleCow Date: Wed, 21 May 2025 19:00:40 +0200 Subject: [PATCH 1/2] =?UTF-8?q?gitea/workflows/rust.yaml=20hinzugef=C3=BCg?= =?UTF-8?q?t?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gitea/workflows/rust.yaml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 gitea/workflows/rust.yaml diff --git a/gitea/workflows/rust.yaml b/gitea/workflows/rust.yaml new file mode 100644 index 0000000..9e5a898 --- /dev/null +++ b/gitea/workflows/rust.yaml @@ -0,0 +1,31 @@ +name: Rust + +on: + push: + pull_request: + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions-rs/toolchain@v1 + with: + toolchain: stable + profile: minimal + override: true + components: rustfmt, clippy + - uses: actions-rs/cargo@v1 + name: Check format + with: + command: fmt + args: --all -- --check + - uses: actions-rs/cargo@v1 + name: Run clippy + with: + command: clippy + args: --all-targets --locked -- -D warnings + - uses: actions-rs/cargo@v1 + name: Run tests + with: + command: test \ No newline at end of file From 77ca11c56347e8894b79c76d3b57c2f144f93f9f Mon Sep 17 00:00:00 2001 From: PurpleCow Date: Wed, 21 May 2025 19:02:58 +0200 Subject: [PATCH 2/2] gitea/workflows/rust.yaml aktualisiert --- gitea/workflows/rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gitea/workflows/rust.yaml b/gitea/workflows/rust.yaml index 9e5a898..f656169 100644 --- a/gitea/workflows/rust.yaml +++ b/gitea/workflows/rust.yaml @@ -28,4 +28,4 @@ jobs: - uses: actions-rs/cargo@v1 name: Run tests with: - command: test \ No newline at end of file + command: test