Factscore replication and CommunityLM Analysis #278
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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 |