chore(ci): modernize config
All checks were successful
ci/woodpecker/push/clippy Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/lint Pipeline was successful

This commit is contained in:
Jef Roosens 2023-08-12 14:09:22 +02:00
parent 8f190c489b
commit 5bdd4e21b0
Signed by: Jef Roosens
GPG key ID: B75D4F293C7052DB
5 changed files with 38 additions and 36 deletions

View file

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