Skip to content

Factscore replication and CommunityLM Analysis #290

Factscore replication and CommunityLM Analysis

Factscore replication and CommunityLM Analysis #290

Workflow file for this run

---
name: Continuous Integration
on: # yamllint disable-line rule:truthy
push:
branches:
- main
pull_request:
branches: ["**"]
jobs:
python-ruff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: Install ruff
run: pip install ruff
- name: Run ruff
run: ruff check .
python-mypy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Python 3
uses: actions/setup-python@v3
with:
python-version: "3.10"
- name: mypy
uses: pre-commit/action@v3.0.0
with:
extra_args: mypy --all-files
lint-markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: lint
uses: pre-commit/action@v3.0.0
with:
extra_args: markdownlint-cli2 --all-files
lint-yaml:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: lint
uses: pre-commit/action@v3.0.0
with:
extra_args: yamllint --all-files
lint-json:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: lint
uses: pre-commit/action@v3.0.0
with:
extra_args: check-json --all-files