Skip to content

Commit 0eda054

Browse files
authored
Use github actions instead of travis ci (ONLYOFFICE#1041)
* Use github actions instead of travis ci * Temp commit with typo * Revert "Temp commit with typo" This reverts commit 583b7f3.
1 parent caf44bc commit 0eda054

File tree

2 files changed

+26
-23
lines changed

2 files changed

+26
-23
lines changed

.github/workflows/check.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: check
2+
on: [push]
3+
jobs:
4+
markdownlint:
5+
runs-on: ubuntu-latest
6+
steps:
7+
- uses: actions/checkout@v2
8+
- name: Use Node.js 12
9+
uses: actions/setup-node@v1
10+
with:
11+
node-version: 12
12+
- name: run markdownlint linter
13+
run: |
14+
npm install -g markdownlint-cli
15+
markdownlint CHANGELOG.md ROADMAP.md
16+
spellchecker:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- uses: actions/checkout@v2
20+
- name: setup aspell
21+
run: sudo apt-get -y update && sudo apt-get -y install aspell aspell-en
22+
- name: run spellchecker
23+
run: |
24+
SPELLCHECK_OUT=$(cat CHANGELOG.md | aspell --lang=en --encoding=utf-8 --personal=./.aspell.en.pws list)
25+
echo $SPELLCHECK_OUT
26+
if [[ $(echo -n $SPELLCHECK_OUT | wc -c) -ne 0 ]]; then exit 1 ; fi

.travis.yml

-23
This file was deleted.

0 commit comments

Comments
 (0)