diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index f3321dd..7026ce1 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -14,6 +14,8 @@ jobs: - name: Run Python code formatting with Black uses: lgeiger/black-action@v1.0.1 + with: + args: "." - name: Commit changes made by Black uses: stefanzweifel/git-auto-commit-action@v5 diff --git a/README.md b/README.md index 909acd3..a75fa60 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # Boruvka's Algorithm +[![code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black) +[![Test](https://github.com/IsaacCheng9/boruvkas-algorithm/actions/workflows/test.yml/badge.svg)](https://github.com/IsaacCheng9/boruvkas-algorithm/actions/workflows/test.yml) + An implementation of Boruvka's algorithm to find a minimum spanning tree in a graph. [Link to narrated video demonstration on YouTube.](https://www.youtube.com/watch?v=n5LNVobuBNU)