Files
Cinderwatch/.woodpecker/build.yaml
Phoenix/HotaruBlaze ccb94afdf8
All checks were successful
ci/woodpecker/push/build Pipeline was successful
Cargo fixes
2026-06-03 21:47:13 +01:00

38 lines
940 B
YAML

when:
- event: push
branch: master
- event: pull_request
branch: master
clone:
git:
image: woodpeckerci/plugin-git
settings:
depth: 1
lfs: false
steps:
- name: lint
image: rust:1.96.0-slim-trixie
commands:
- apt-get update && apt-get install -y pkg-config libssl-dev && rm -rf /var/lib/apt/lists/*
- rustup component add clippy rustfmt
- cargo fmt --check
- cargo clippy -- -D warnings
- name: build docker image
image: woodpeckerci/plugin-docker-buildx
settings:
repo: git.infernonode.com/hotarublaze/cinderwatch
registry: git.infernonode.com
tags: latest
cache_images:
- git.infernonode.com/hotarublaze/cinderwatch:cache
username:
from_secret: docker_woodpecker_username
password:
from_secret: docker_woodpecker_pat
platforms: linux/amd64
when:
- event: push
branch: master