mirror of
https://github.com/zokradonh/kopano-docker
synced 2025-06-09 00:46:25 +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:
parent
574e9de669
commit
3b105980c1
7
.github/workflows/goss.yml
vendored
7
.github/workflows/goss.yml
vendored
@ -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
.github/workflows/reviewdog.yml
vendored
Normal file
29
.github/workflows/reviewdog.yml
vendored
Normal 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,5 +1,5 @@
|
|||||||
port:
|
port:
|
||||||
tcp6:2003:
|
tcp:2003:
|
||||||
listening: true
|
listening: true
|
||||||
process:
|
process:
|
||||||
kopano-dagent:
|
kopano-dagent:
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
port:
|
port:
|
||||||
tcp6:2003:
|
tcp:2003:
|
||||||
listening: true
|
listening: true
|
||||||
process:
|
process:
|
||||||
kopano-dagent:
|
kopano-dagent:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user