diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 97aa2ad..a108344 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -65,7 +65,7 @@ jobs: if: ${{ vars.RUN_CICD == 'true' }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Lint Python app uses: swiss-ai-center/common-code/.github/actions/lint-python-app@main @@ -78,7 +78,7 @@ jobs: if: ${{ vars.RUN_CICD == 'true' }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Python app uses: swiss-ai-center/common-code/.github/actions/test-python-app@main @@ -92,7 +92,7 @@ jobs: if: ${{ vars.RUN_CICD == 'true' && success() && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/prod') && (vars.DEPLOY_DEV == 'true' || vars.DEPLOY_PROD == 'true') }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build and push Docker image to GitHub id: build-and-push-docker-image-to-github @@ -111,7 +111,7 @@ jobs: if: ${{ vars.RUN_CICD == 'true' && success() && github.ref == 'refs/heads/main' && vars.DEPLOY_DEV == 'true' }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get service Docker image SHA tag shell: bash @@ -153,7 +153,7 @@ jobs: if: ${{ vars.RUN_CICD == 'true' && success() && github.ref == 'refs/heads/prod' && vars.DEPLOY_PROD == 'true' }} steps: - name: Clone repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get service Docker image SHA tag shell: bash