From 8b63eba9650cb0320d0addf7fbbdb9f26a793e56 Mon Sep 17 00:00:00 2001 From: Mario Winkler <168550098+mario-winkler@users.noreply.github.com> Date: Fri, 18 Oct 2024 16:53:28 +0200 Subject: [PATCH] Update build-publish-image.yml --- .github/workflows/build-publish-image.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-publish-image.yml b/.github/workflows/build-publish-image.yml index 40c30ac..b8480db 100644 --- a/.github/workflows/build-publish-image.yml +++ b/.github/workflows/build-publish-image.yml @@ -11,14 +11,14 @@ jobs: name: Code linting, format checking runs-on: ubuntu-latest steps: - - name: Chechout project + - name: Checkout project uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.11' - name: Install dependencies - run: python -m pip install --upgrade pip flake8 black pytest + run: python -m pip install --upgrade pip flake8 black pytest hatch - name: Analyse code run: flake8 --max-line-length 120 --count --statistics src/ - name: Check code format @@ -34,17 +34,19 @@ jobs: with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_PASSWORD }} + - name: Checkout project + uses: actions/checkout@v4 - name: Set up Python uses: actions/setup-python@v5 with: - python-version: '3.11' + python-version: '3.11' - name: Install dependencies run: python -m pip install --upgrade pip hatch - name: Determine harvester version run: | hatch version echo "HARVESTER_VERSION=$(hatch version)" >> $GITHUB_ENV - echo $HARVESTER_VERSION + echo $HARVESTER_VERSION - name: Build and push uses: docker/build-push-action@v6 with: