CI is a bit of a pain
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Lynne Megido 2021-05-08 02:50:23 +10:00
parent 81347a7658
commit c3b5dbea35
Signed by: lynnesbian
GPG key ID: F0A184B5213D9F90
2 changed files with 14 additions and 80 deletions

View file

@ -26,13 +26,19 @@ stages:
.cargo-cleanup: .cargo-cleanup:
stage: cache-cleanup stage: cache-cleanup
allow_failure: true allow_failure: true
only:
refs:
- branches
- tags
changes:
- "/src/**/*"
- .gitlab-ci.yml
script: script:
- cargo install cargo-sweep - cargo install cargo-sweep
- cargo sweep -i - cargo sweep -i
.cargo-build-base: .cargo-build-base:
stage: build-base stage: build-base
only: only:
refs: refs:
- branches - branches
@ -68,6 +74,13 @@ stages:
clippy: clippy:
stage: lint stage: lint
only:
refs:
- branches
- tags
changes:
- "/src/**/*"
- .gitlab-ci.yml
script: script:
- rustup component add clippy - rustup component add clippy
- cargo clippy --version - cargo clippy --version

View file

@ -1,79 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="CsvFileAttributes">
<option name="attributeMap">
<map>
<entry key="/Cargo.toml">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="/README.md">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="/pkg/PKGBUILD">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
<entry key="/pkg/fif.spec">
<value>
<Attribute>
<option name="separator" value=":" />
</Attribute>
</value>
</entry>
<entry key="/src/formats.rs">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
<entry key="/src/inspectors.rs">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
<entry key="/src/main.rs">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
<entry key="/src/mimedb.rs">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
<entry key="/src/parameters.rs">
<value>
<Attribute>
<option name="separator" value="," />
</Attribute>
</value>
</entry>
<entry key="/src/tests/mod.rs">
<value>
<Attribute>
<option name="separator" value="&#9;" />
</Attribute>
</value>
</entry>
</map>
</option>
</component>
</project>