Awiteb
8a80e58e54
All checks were successful
Write changelog / write-changelog (push) Successful in 4s
Rust CI / Rust CI (push) Successful in 7m0s
CD / build-assets (aarch64-unknown-linux-gnu) (push) Successful in 7m7s
CD / build-assets (aarch64-unknown-linux-musl) (push) Successful in 7m8s
CD / build-assets (x86_64-unknown-linux-gnu) (push) Successful in 4m11s
CD / build-assets (x86_64-unknown-linux-musl) (push) Successful in 4m14s
CD / release (push) Successful in 12s
Signed-off-by: Awiteb <a@4rs.nl>
25 lines
564 B
YAML
25 lines
564 B
YAML
name: Rust CI
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
jobs:
|
|
rust_ci:
|
|
name: Rust CI
|
|
runs-on: debian
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: https://codeberg.org/awiteb/rust-action@v1.81
|
|
- name: Check MSRV
|
|
run: cargo +1.81 build
|
|
- name: Build the source code
|
|
run: cargo build
|
|
- name: Check the code format
|
|
run: cargo fmt -- --check
|
|
- name: Run cargo-check
|
|
run: cargo check
|
|
- name: Run cargo-clippy
|
|
run: cargo clippy -- -D warnings
|