Browse Source

CI is a bit of a pain

master
Lynne Megido 1 month ago
parent
commit
c3b5dbea35
Signed by: lynnesbian GPG Key ID: F0A184B5213D9F90
  1. 15
      .gitlab-ci.yml
  2. 79
      .idea/csv-plugin.xml

15
.gitlab-ci.yml

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

79
.idea/csv-plugin.xml

@ -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>
Loading…
Cancel
Save