1
0
mirror of https://github.com/zokradonh/kopano-docker.git synced 2026-08-11 16:32:59 +00:00

prepare for reviewdog checks (#308)

* add some reviewdog checks
* give the workflow a better name
* debug goss check
* fix goss test for dagent
* disable reviewdog for now as it does not properly work
This commit is contained in:
Felix Bartels
2019-12-30 13:55:15 +01:00
committed by GitHub
parent 574e9de669
commit 3b105980c1
4 changed files with 37 additions and 3 deletions
+6 -1
View File
@@ -2,7 +2,8 @@ name: Weekly Goss check
on: on:
schedule: schedule:
- cron: "1 2 * * 1" - cron: "5 8 * * 1"
#on: [pull_request]
jobs: jobs:
build: build:
@@ -15,5 +16,9 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y expect run: sudo apt-get update && sudo apt-get install -y expect
- name: create .env - name: create .env
run: ./tests/test.exp run: ./tests/test.exp
- name: install goss
run: sudo curl -L https://github.com/aelsabbahy/goss/releases/download/v0.3.9/goss-linux-amd64 -o /usr/local/bin/goss && sudo chmod +rx /usr/local/bin/goss
- name: install dcgoss
run: sudo curl -L https://raw.githubusercontent.com/aelsabbahy/goss/master/extras/dcgoss/dcgoss -o /usr/local/bin/dcgoss && sudo chmod +rx /usr/local/bin/dcgoss
- name: Run goss tests - name: Run goss tests
run: make test-goss run: make test-goss
+29
View File
@@ -0,0 +1,29 @@
name: Linting checks via Reviewdog
#n: [pull_request]
jobs:
reviewdog:
runs-on: ubuntu-latest
steps:
- name: Check out code.
uses: actions/checkout@v1
- name: misspell
uses: reviewdog/action-misspell@v1
with:
github_token: ${{ secrets.github_token }}
locale: "US"
- name: eclint
uses: fbartels/action-eclint@master
with:
github_token: ${{ secrets.github_token }}
- name: yamllint
uses: fbartels/action-yamllint@master
with:
github_token: ${{ secrets.github_token }}
- name: shellcheck
uses: fbartels/action-shellcheck@master
with:
github_token: ${{ secrets.github_token }}
- name: hadolint
uses: mgrachev/action-hadolint@v1.0.1
with:
github_token: ${{ secrets.github_token }}
+1 -1
View File
@@ -1,5 +1,5 @@
port: port:
tcp6:2003: tcp:2003:
listening: true listening: true
process: process:
kopano-dagent: kopano-dagent:
+1 -1
View File
@@ -1,5 +1,5 @@
port: port:
tcp6:2003: tcp:2003:
listening: true listening: true
process: process:
kopano-dagent: kopano-dagent: