From ca82d6d67b59e344861134ea2f092ed1b0c53192 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Mon, 17 Jun 2024 14:27:32 +0200 Subject: [PATCH] Reincoreporate simplified rust job --- .github/workflows/rust.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/rust.yml diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml new file mode 100644 index 00000000..f9655dad --- /dev/null +++ b/.github/workflows/rust.yml @@ -0,0 +1,21 @@ +name: Rust + +on: + push: + branches: [ main, release/** ] + pull_request: + +defaults: + run: + shell: bash + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: stellar/actions/rust-cache@main + - run: rustup update + - run: cargo fmt --all --check + - run: cargo clippy -Dwarnings -Dclippy::all -Dclippy::pedantic + - run: cargo test