rfc/.github/workflows/main.yml
Dean Eigenmann afa2afdbcf
Update main.yml (#136)
* Update main.yml

* Update wordlist.txt

* Update main.yml

* Update main.yml

* Rename spellcheck.yaml to .spellcheck.yaml

* Update README.md

* Rename .spellcheck.yaml to .pyspelling.yml

* Update README.md

* Update wordlist.txt

* Update wordlist.txt

* Update wordlist.txt
2020-05-28 11:46:43 +02:00

58 lines
1.4 KiB
YAML

# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on: [pull_request]
jobs:
spellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.7
uses: actions/setup-python@v1
with:
python-version: 3.7
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools
python -m pip install pyspelling
# Install any additional libraries required: additional plugins, documentation building libraries, etc.
- name: Install Aspell
run: |
sudo apt-get install aspell aspell-en
- name: Spell check
run: python -m pyspelling
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 13
- name: Install
run: npm install
- name: Test
run: npm run lint
textlint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 13
- name: Install
run: npm install
- name: Test
run: npm run textlint