2022-03-19 09:15:10 +00:00
|
|
|
image: rust:1.59-alpine3.15
|
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
|
|
|
|
2022-03-19 09:06:04 +00:00
|
|
|
test:
|
2022-03-19 09:15:10 +00:00
|
|
|
stage: test
|
2022-03-19 09:07:51 +00:00
|
|
|
before_script:
|
|
|
|
- apk --no-cache add musl-dev
|
2022-03-19 09:06:04 +00:00
|
|
|
script:
|
2022-03-19 09:15:10 +00:00
|
|
|
- cargo test
|
|
|
|
|
|
|
|
audit:
|
|
|
|
stage: test
|
|
|
|
before_script:
|
|
|
|
- apk --no-cache add musl-dev
|
|
|
|
- cargo install cargo-audit
|
|
|
|
script:
|
|
|
|
- cargo audit
|