chore(ci): modernize config
ci/woodpecker/push/lint Pipeline was successful Details
ci/woodpecker/push/clippy Pipeline failed Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/docker Pipeline was successful Details

db-centric-repos
Jef Roosens 2023-08-13 20:24:34 +02:00
parent 3b2d6dec87
commit fcb3a18416
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
4 changed files with 22 additions and 20 deletions

View File

@ -1,13 +1,14 @@
platform: 'linux/amd64'
branches:
exclude: [main]
pipeline:
when:
branch:
exclude: [main]
event: push
steps:
build:
image: 'rust:1.70-alpine3.18'
commands:
- apk add --no-cache build-base libarchive libarchive-dev
- cargo build --verbose
when:
event: [push]

View File

@ -1,13 +1,13 @@
platform: 'linux/amd64'
branches:
exclude: [main]
when:
branch:
exclude: [main]
event: push
pipeline:
steps:
clippy:
image: 'rust:1.70-alpine3.18'
commands:
- rustup component add clippy
- cargo clippy -- --no-deps -Dwarnings
when:
event: [push]

View File

@ -1,9 +1,13 @@
branches: [dev]
platform: 'linux/amd64'
when:
branch: dev
event: push
depends_on:
- build
pipeline:
steps:
dev:
image: 'woodpeckerci/plugin-docker-buildx'
secrets:
@ -16,6 +20,3 @@ pipeline:
- 'dev'
platforms: [ 'linux/amd64' ]
mtu: 1300
when:
event: push
branch: dev

View File

@ -1,13 +1,13 @@
platform: 'linux/amd64'
branches:
exclude: [main]
when:
branch:
exclude: [main]
event: push
pipeline:
steps:
lint:
image: 'rust:1.70-alpine3.18'
commands:
- rustup component add rustfmt
- cargo fmt -- --check
when:
event: [push]