From 58bd07dc39e246a48494cb2166bde578e0f13cee Mon Sep 17 00:00:00 2001 From: Sarthak Pati Date: Fri, 31 May 2024 07:42:50 -0400 Subject: [PATCH] Update black action with specific version --- .github/workflows/black.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/black.yml b/.github/workflows/black.yml index 6d765961a..64421525b 100644 --- a/.github/workflows/black.yml +++ b/.github/workflows/black.yml @@ -15,7 +15,8 @@ jobs: run: | echo "BLACK_VERSION=$(python -c 'from setup import black_version; print(black_version)')" >> $GITHUB_ENV - - uses: psf/black@stable + # ensure conformity with https://github.com/mlcommons/GaNDLF/blob/master/setup.py#L77 + - uses: psf/black@23.11.0 with: version: ${{ env.BLACK_VERSION }}