mirror of https://git.meli.delivery/meli/meli
CI: move manifest_lints.yaml actions to Makefile.manifest-lints
Signed-off-by: Manos Pitsidianakis <manos@pitsidianak.is>pull/490/head
parent
598a70f9df
commit
7e800a8f3f
@ -0,0 +1,32 @@
|
||||
# SPDX-License-Identifier: EUPL-1.2
|
||||
#
|
||||
# Makefile for: "Build and run Tests" workflow, in .gitea/workflows/build.yaml
|
||||
|
||||
.POSIX:
|
||||
.SUFFIXES:
|
||||
CARGO_INCREMENTAL ?= 0
|
||||
CARGO_NET_RETRY ?= 10
|
||||
CARGO_REGISTRIES_CRATES_IO_PROTOCOL ?= sparse
|
||||
RUSTFLAGS ?= -D warnings -W unreachable-pub -W rust-2021-compatibility -C debuginfo=0
|
||||
RUSTUP_MAX_RETRIES ?= 10
|
||||
RUST_BACKTRACE ?= short
|
||||
|
||||
.PHONY: all
|
||||
all: cargo-msrv cargo-sort check-debian-changelog
|
||||
printf "All completed.\n"
|
||||
|
||||
.PHONY: cargo-msrv
|
||||
cargo-msrv:
|
||||
printf "cargo-msrv\n"
|
||||
cargo-msrv --output-format json --log-level trace --log-target stdout --path meli verify -- cargo check --all-targets
|
||||
cargo-msrv --output-format json --log-level trace --log-target stdout --path melib verify -- cargo check --all-targets
|
||||
.PHONY: cargo-sort
|
||||
cargo-sort:
|
||||
printf "cargo-sort\n"
|
||||
cargo-sort --check --check-format --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace fuzz
|
||||
cargo-sort --check --check-format --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace tools
|
||||
cargo-sort --check --check-format --grouped --order package,bin,lib,dependencies,features,build-dependencies,dev-dependencies,workspace --workspace
|
||||
.PHONY: check-debian-changelog
|
||||
check-debian-changelog:
|
||||
printf "Check debian/changelog is up-to-date.\n"
|
||||
./scripts/check_debian_changelog.sh
|
Loading…
Reference in New Issue