ci: change steps
This commit is contained in:
parent
a809689a20
commit
84de09b87f
1 changed files with 8 additions and 3 deletions
|
@ -12,16 +12,20 @@ when:
|
|||
- "manifest/**"
|
||||
|
||||
steps:
|
||||
check: # check if the code compiles
|
||||
clippy: # check if the code compiles
|
||||
image: rust
|
||||
commands:
|
||||
- cargo check --release --manifest-path bootpkg/Cargo.toml --all
|
||||
- cargo check --release --manifest-path pkgr/Cargo.toml --all
|
||||
- cargo clippy --release --no-deps --manifest-path bootpkg/Cargo.toml
|
||||
- cargo clippy --release --no-deps --manifest-path pkgr/Cargo.toml
|
||||
pull: true
|
||||
failure: ignore
|
||||
build:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo build --release --manifest-path bootpkg/Cargo.toml --all
|
||||
- cargo build --release --manifest-path pkgr/Cargo.toml --all
|
||||
pull: true
|
||||
failure: fail
|
||||
publish:
|
||||
image: woodpeckerci/plugin-gitea-release
|
||||
settings:
|
||||
|
@ -32,5 +36,6 @@ steps:
|
|||
api_key:
|
||||
from_secret: gitea_access_token
|
||||
target: main
|
||||
failure: ignore
|
||||
when:
|
||||
event: tag
|
Loading…
Reference in a new issue