Skip to content

Commit

Permalink
Update to use reusable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose authored Oct 30, 2024
1 parent beb9585 commit 60820c4
Showing 1 changed file with 4 additions and 17 deletions.
21 changes: 4 additions & 17 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,10 @@ on:
name: Release
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install black ruff
- name: Autoformat with black
run: |
black .
- name: Lint with ruff
run: |
ruff check . --fix
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "style: style fixes by ruff and autoformatting by black"
uses: Loop3d/workflows/.github/workflows/python-linting.yml@main
with:
folder-name: '.'


release-please:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 60820c4

Please sign in to comment.