diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-25 16:06:24 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-25 16:06:24 +0200 |
| commit | 2740ad3239998ae63f1751cd9e8bd091255e786e (patch) | |
| tree | 8b5cf80062b907f6fadb561c0cebe3adc09cf0a6 /.github/workflows/ci.yml | |
| parent | 6ea4d1f33e158407a1a0b51f210461d698513300 (diff) | |
| download | mihi-2740ad3239998ae63f1751cd9e8bd091255e786e.tar.gz mihi-2740ad3239998ae63f1751cd9e8bd091255e786e.zip | |
github: Add workflows for CI execution
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to '.github/workflows/ci.yml')
| -rw-r--r-- | .github/workflows/ci.yml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..a2ec6aa --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,27 @@ +name: CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +env: + RUSTFLAGS: "-Dwarnings" + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + + - name: Ensure latest Rust stable + run: | + rustup update stable + rustup default stable + + - name: Run tests + run: cargo test --verbose + + - name: Run Clippy + run: cargo clippy --all-targets --all-features |
