fix formatter ci
Some checks failed
ci/woodpecker/push/audit Pipeline was successful
ci/woodpecker/push/check Pipeline was successful
ci/woodpecker/push/formatter Pipeline failed

This commit is contained in:
hexlocation 2025-08-03 01:56:31 +02:00
parent 3eeb5fd4b3
commit 985b1d3810
3 changed files with 7 additions and 2 deletions

View file

@ -3,7 +3,7 @@ when:
branch: ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: 'Format w/ Carg'
- name: 'audit dependencies'
image: rust:1.88
commands:
- cargo install cargo-audit

View file

@ -3,7 +3,7 @@ when:
branch: ${CI_REPO_DEFAULT_BRANCH}
steps:
- name: 'Format w/ Carg'
- name: 'Check code'
image: rust:1.88
commands:
- cargo check

View file

@ -6,9 +6,14 @@ steps:
- name: 'Format w/ Cargo'
image: rust:1.88
commands:
- rustup component add rustfmt
- cargo fmt
- name: 'Push formatted'
image: appleboy/drone-git-push
settings:
remote_name: origin
branch: ${CI_COMMIT_BRANCH}
commit: true
commit_message: "[skip ci] chore: automated code formatting"
author_name: "Woodpecker CI"