pgcrab/.woodpecker/main.yaml
地震 2fc733fbfa Update CI config (#1)
Reviewed-on: #1
Co-authored-by: 地震 <jishin@noreply.git.emunest.net>
Co-committed-by: 地震 <jishin@noreply.git.emunest.net>
2025-10-08 22:11:56 +00:00

39 lines
705 B
YAML

# SPDX-FileCopyrightText: 2025 Olivier 'reivilibre'
#
# SPDX-License-Identifier: GPL-3.0-or-later
when:
- event: push
branch: main
labels:
platform: linux/amd64
steps:
- name: build
image: rust:1.86.0
commands:
- cargo build --verbose
- name: test
image: rust:1.86.0
commands:
- cargo test --verbose
- name: fmt-check
image: rust:1.86.0
commands:
- rustup component add rustfmt
- cargo fmt -- --check
- name: clippy
image: rust:1.86.0
commands:
- rustup component add clippy
- cargo clippy -- -D warnings
- name: deny
image: rust:1.86.0
commands:
- cargo install cargo-deny
- cargo deny check