chore: add ci config
parent
7c06906718
commit
3126f81200
|
@ -0,0 +1,10 @@
|
|||
platform: 'linux/amd64'
|
||||
|
||||
branches:
|
||||
exclude: [main]
|
||||
|
||||
pipeline:
|
||||
build:
|
||||
image: 'rust:1.69'
|
||||
commands:
|
||||
- cargo build
|
|
@ -0,0 +1,10 @@
|
|||
platform: 'linux/amd64'
|
||||
|
||||
branches:
|
||||
exclude: [main]
|
||||
|
||||
pipeline:
|
||||
clippy:
|
||||
image: 'rust:1.69'
|
||||
commands:
|
||||
- cargo clippy -- --no-deps -Dwarnings
|
|
@ -0,0 +1,10 @@
|
|||
platform: 'linux/amd64'
|
||||
|
||||
branches:
|
||||
exclude: [main]
|
||||
|
||||
pipeline:
|
||||
lint:
|
||||
image: 'rust:1.69'
|
||||
commands:
|
||||
- cargo fmt -- --check
|
Loading…
Reference in New Issue