mirror of
https://gitlab.com/fabinfra/fabaccess/bffh.git
synced 2024-11-11 01:53:23 +01:00
Merge branch 'development' of gitlab.com:fabinfra/fabaccess/bffh into development
This commit is contained in:
commit
c08633a513
@ -29,6 +29,13 @@ lint:clippy:
|
||||
script:
|
||||
- rustc --version && cargo --version # Print version info for debugging
|
||||
- cargo clippy -- -D warnings
|
||||
only:
|
||||
- master
|
||||
- development
|
||||
- merge_requests
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
# Use rustfmt to check formating of the project
|
||||
lint:fmt:
|
||||
@ -36,12 +43,26 @@ lint:fmt:
|
||||
script:
|
||||
- rustc --version && cargo --version # Print version info for debugging
|
||||
- cargo fmt -- --check # TODO: Do we want to enforce formating?
|
||||
only:
|
||||
- master
|
||||
- development
|
||||
- merge_requests
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
# Use cargo to test the project
|
||||
test:cargo:
|
||||
script:
|
||||
- rustc --version && cargo --version # Print version info for debugging
|
||||
- cargo test --workspace --verbose
|
||||
only:
|
||||
- master
|
||||
- development
|
||||
- merge_requests
|
||||
tags:
|
||||
- linux
|
||||
- docker
|
||||
|
||||
|
||||
# cache dependencies and build environment to speed up setup
|
||||
|
Loading…
Reference in New Issue
Block a user