Skip to content

Commit

Permalink
Merge branch 'main' into dependabot-pip-pydantic-lt-3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda authored Jan 8, 2024
2 parents 35572e9 + 3138018 commit 02d8b3b
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 18 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,23 @@ concurrency:
cancel-in-progress: ${{ ! (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/')) }}

jobs:
check-code:
uses: Lightning-AI/utilities/.github/workflows/check-code.yml@v0.9.0
check-precommit:
uses: Lightning-AI/utilities/.github/workflows/check-precommit.yml@v0.10.1

check-typing:
uses: Lightning-AI/utilities/.github/workflows/check-typing.yml@v0.10.1
with:
actions-ref: v0.8.0
actions-ref: v0.10.1

check-schema:
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.9.0
uses: Lightning-AI/utilities/.github/workflows/check-schema.yml@v0.10.1
with:
azure-dir: ".azure"

check-package:
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.9.0
uses: Lightning-AI/utilities/.github/workflows/check-package.yml@v0.10.1
with:
actions-ref: v0.8.0
actions-ref: v0.10.1
import-name: "lightning_hivemind"
artifact-name: dist-packages-${{ github.sha }}
testing-matrix: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
# If you're using actions/checkout@v4 you must set persist-credentials to false in most cases for the deployment to work correctly.
with:
persist-credentials: false
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -40,7 +40,7 @@ jobs:
run: make html --jobs 2

- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4.4.3
uses: JamesIves/github-pages-deploy-action@v4.5.0
if: ${{ github.event_name == 'push' }}
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.8

Expand All @@ -29,15 +29,15 @@ jobs:
# We do this, since failures on test.pypi aren't that bad
#- name: Publish to Test PyPI
# if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
# uses: pypa/gh-action-pypi-publish@v1.8.10
# uses: pypa/gh-action-pypi-publish@v1.8.11
# with:
# user: __token__
# password: ${{ secrets.test_pypi_password }}
# repository_url: https://test.pypi.org/legacy/

- name: Publish distribution 📦 to PyPI
if: startsWith(github.event.ref, 'refs/tags') || github.event_name == 'release'
uses: pypa/gh-action-pypi-publish@v1.8.10
uses: pypa/gh-action-pypi-publish@v1.8.11
with:
user: __token__
password: ${{ secrets.pypi_password }}
12 changes: 6 additions & 6 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ci:

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
rev: v4.5.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace
Expand All @@ -22,25 +22,25 @@ repos:
- id: detect-private-key

- repo: https://github.com/asottile/pyupgrade
rev: v3.8.0
rev: v3.15.0
hooks:
- id: pyupgrade
args: [--py37-plus]
name: Upgrade code

- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

- repo: https://github.com/psf/black
rev: 23.3.0
rev: 23.12.1
hooks:
- id: black
name: Black code

- repo: https://github.com/executablebooks/mdformat
rev: 0.7.16
rev: 0.7.17
hooks:
- id: mdformat
additional_dependencies:
Expand All @@ -62,7 +62,7 @@ repos:
#- flake8-simplify

- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.276
rev: v0.1.9
hooks:
- id: ruff
args: ["--fix"]

0 comments on commit 02d8b3b

Please sign in to comment.