Files
nuchat/.gitea/workflows/cargo.yaml
Fergus Molloy 2e102bfffd
All checks were successful
Cargo / build (push) Successful in 2m18s
update job names
2025-07-18 11:44:59 +01:00

35 lines
855 B
YAML

name: Cargo
run-name: ${{ gitea.actor }} is verifying cargo build and tests
on: [push]
jobs:
build:
runs-on: rust-latest
steps:
- name: Check out repository code
uses: actions/checkout@v4
- name: Build project
uses: actions-rs/cargo@v1
with:
command: build
args: --release
- name: Run clippy
uses: actions-rs/cargo@v1
with:
command: clippy
args: -- -Dwarnings -Wclippy::correctness -Wclippy::complexity -Wclippy::perf -Aclippy::missing_errors_doc -Aclippy::missing_panics_doc
- name: Run unit tests
uses: actions-rs/cargo@v1
with:
command: test
args: --lib --bins
- name: Run integration tests
uses: actions-rs/cargo@v1
with:
command: test
args: --tests '*'