added codespell & superlinter / updated version
Signed-off-by: André Bauer <monotek23@gmail.com>
This commit is contained in:
parent
2f9d7b32ed
commit
5c30fe716d
2
.env
2
.env
@ -3,4 +3,4 @@ POSTGRES_PASS=zammad
|
||||
POSTGRES_USER=zammad
|
||||
RESTART=always
|
||||
# don't forget to add the minus before the version
|
||||
VERSION=-3.6.0-1
|
||||
VERSION=-3.6.0-20
|
||||
|
15
.github/lint-scripts.sh
vendored
15
.github/lint-scripts.sh
vendored
@ -1,15 +0,0 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# lint bash scripts
|
||||
#
|
||||
|
||||
set -o errexit
|
||||
|
||||
TMP_FILE="$(mktemp)"
|
||||
|
||||
find . -type f -name "*.sh" > "${TMP_FILE}"
|
||||
|
||||
while read -r FILE; do
|
||||
echo lint "${FILE}"
|
||||
shellcheck -x "${FILE}"
|
||||
done < "${TMP_FILE}"
|
41
.github/workflows/ci.yaml
vendored
41
.github/workflows/ci.yaml
vendored
@ -4,18 +4,37 @@ on:
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
lint-bash-scripts:
|
||||
runs-on: ubuntu-latest
|
||||
codespell:
|
||||
name: codespell
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
- name: Lint Bash scripts
|
||||
uses: docker://koalaman/shellcheck-alpine:v0.7.0
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Codespell
|
||||
uses: codespell-project/actions-codespell@master
|
||||
with:
|
||||
args: .github/lint-scripts.sh
|
||||
skip: .git
|
||||
#exclude_file: .github/kubeval.sh
|
||||
#ignore_words_list: iam,aks
|
||||
check_filenames: true
|
||||
check_hidden: true
|
||||
|
||||
super-linter:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Lint Code Base
|
||||
uses: github/super-linter@v3
|
||||
env:
|
||||
DEFAULT_BRANCH: master
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
VALIDATE_ALL_CODEBASE: false
|
||||
VALIDATE_KUBERNETES_KUBEVAL: false
|
||||
VALIDATE_YAML: false
|
||||
|
||||
lint-docker-files:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -33,7 +52,7 @@ jobs:
|
||||
dockerfile: containers/zammad-postgresql/Dockerfile
|
||||
|
||||
lint-docker-compose-file:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -46,7 +65,7 @@ jobs:
|
||||
- lint-docker-files
|
||||
- lint-docker-compose-file
|
||||
timeout-minutes: 20
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
@ -67,7 +86,7 @@ jobs:
|
||||
- lint-docker-files
|
||||
- lint-docker-compose-file
|
||||
timeout-minutes: 10
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v1
|
||||
|
Loading…
Reference in New Issue
Block a user