Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-26 05:50:29 +01:00
add hadolint to travisfile
Signed-off-by: Felix Bartels <felix@host-consultants.de>
Dieser Commit ist enthalten in:
Ursprung
d7ee7caed4
Commit
df8c9f39ac
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
|
@ -1,11 +1,20 @@
|
||||||
dist: xenial
|
dist: xenial
|
||||||
|
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
- HADOLINT_VERSION=1.17.1
|
||||||
|
|
||||||
language: rust
|
language: rust
|
||||||
rust: nightly
|
rust: nightly
|
||||||
cache: cargo
|
cache: cargo
|
||||||
|
|
||||||
|
before_install:
|
||||||
|
- sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint
|
||||||
|
- sudo chmod +rx /usr/local/bin/hadolint
|
||||||
|
|
||||||
# Nothing to install
|
# Nothing to install
|
||||||
install: true
|
install: true
|
||||||
script:
|
script:
|
||||||
|
- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint
|
||||||
- cargo build --features "sqlite"
|
- cargo build --features "sqlite"
|
||||||
- cargo build --features "mysql"
|
- cargo build --features "mysql"
|
||||||
|
|
Laden …
In neuem Issue referenzieren