mirror of
https://github.com/hwchase17/langchain
synced 2024-11-08 07:10:35 +00:00
95a1b598fe
We don't use any of the new functionality at the moment. Just making sure we don't fall back on versions and fail to benefit from new patches. This is an easy upgrade and it's always harder to upgrade across multiple major versions at once.
37 lines
811 B
YAML
37 lines
811 B
YAML
---
|
|
name: Codespell
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
branches: [master]
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
codespell:
|
|
name: Check for spelling errors
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install Dependencies
|
|
run: |
|
|
pip install toml
|
|
|
|
- name: Extract Ignore Words List
|
|
run: |
|
|
# Use a Python script to extract the ignore words list from pyproject.toml
|
|
python .github/workflows/extract_ignored_words_list.py
|
|
id: extract_ignore_words
|
|
|
|
- name: Codespell
|
|
uses: codespell-project/actions-codespell@v2
|
|
with:
|
|
skip: guide_imports.json
|
|
ignore_words_list: ${{ steps.extract_ignore_words.outputs.ignore_words_list }}
|