add shit
This commit is contained in:
parent
46fb165021
commit
f9cca163ff
5 changed files with 28 additions and 15 deletions
|
@ -1,14 +1,14 @@
|
|||
when:
|
||||
- event: push
|
||||
branch: ${CI_REPO_DEFAULT_BRANCH}
|
||||
- event: pull_request
|
||||
|
||||
steps:
|
||||
- name: 'Check w/ Prettier'
|
||||
image: woodpeckerci/plugin-prettier:next
|
||||
settings:
|
||||
single_issue_check: true
|
||||
- name: 'Check w/ Cargo'
|
||||
- name: 'Format w/ Cargo'
|
||||
image: rust:1.88
|
||||
commands:
|
||||
- cargo check
|
||||
- cargo fmt
|
||||
- name: 'Push formatted'
|
||||
image: appleboy/drone-git-push
|
||||
settings:
|
||||
remote_name: origin
|
||||
branch: ${CI_COMMIT_BRANCH}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue