aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorBlackDex <[email protected]>2021-03-30 21:45:10 +0200
committerBlackDex <[email protected]>2021-03-30 21:45:10 +0200
commit9caf4bf38381f4ec0680a4b29ba26f9c1921fba0 (patch)
treec05b7ee1aeefcf122f414fbff0c5db44dc6db472 /.github
parent9b2234fa0e313f79e458a5dd45da163760fcbfb4 (diff)
downloadvaultwarden-9caf4bf38381f4ec0680a4b29ba26f9c1921fba0.tar.gz
vaultwarden-9caf4bf38381f4ec0680a4b29ba26f9c1921fba0.zip
Misc changes.
Some small changes in general: - Moved the SQL Version check struct into the function. - Updated hadolint to 2.0.0 - Fixed hadolint 2.0.0 warnings - Updated github workflows - Added .editorconfig for some general shared editor settings.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml14
-rw-r--r--.github/workflows/hadolint.yml3
2 files changed, 8 insertions, 9 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 81151f17..2c4d4620 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,23 +2,21 @@ name: Build
on:
push:
- # Ignore when there are only changes done too one of these paths
- paths-ignore:
- - "**.md"
- - "**.txt"
- - "azure-pipelines.yml"
- - "docker/**"
- - "hooks/**"
- - "tools/**"
pull_request:
# Ignore when there are only changes done too one of these paths
paths-ignore:
- "**.md"
- "**.txt"
+ - ".dockerignore"
+ - ".env.template"
+ - ".gitattributes"
+ - ".gitignore"
- "azure-pipelines.yml"
- "docker/**"
- "hooks/**"
- "tools/**"
+ - ".github/FUNDING.yml"
+ - ".github/ISSUE_TEMPLATE/**"
jobs:
build:
diff --git a/.github/workflows/hadolint.yml b/.github/workflows/hadolint.yml
index 7b799554..f2cd9732 100644
--- a/.github/workflows/hadolint.yml
+++ b/.github/workflows/hadolint.yml
@@ -1,6 +1,7 @@
name: Hadolint
on:
+ push:
pull_request:
# Ignore when there are only changes done too one of these paths
paths:
@@ -24,7 +25,7 @@ jobs:
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 +x /usr/local/bin/hadolint
env:
- HADOLINT_VERSION: 1.19.0
+ HADOLINT_VERSION: 2.0.0
# End Download hadolint
# Test Dockerfiles