Skip to content

Commit

Permalink
feat(ZCH-70): update checkout action from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
dennis-avesani-zupit committed Apr 8, 2024
1 parent 359853d commit 3570dfb
Show file tree
Hide file tree
Showing 20 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/conventional-commits-step-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
container:
image: ${{ inputs.DIND_IMAGE }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
persist-credentials: false
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/django-step-lint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,11 +68,11 @@ jobs:
if: ${{ inputs.ENABLE_LFS == true }}
run: apt-get update && apt-get install -y git-lfs
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
if: ${{ inputs.ENABLE_LFS == true }}
with:
lfs: 'true'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ inputs.ENABLE_LFS == false }}
- run: git config --global --add safe.directory /__w/mobygis-waterjade/mobygis-waterjade
if: ${{ inputs.ENABLE_LFS == true }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/django-step-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,11 @@ jobs:
- name: Install prerequisites
if: ${{ inputs.ENABLE_LFS == true }}
run: apt-get update && apt-get install -y git-lfs
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ inputs.ENABLE_LFS == true }}
with:
lfs: 'true'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ inputs.ENABLE_LFS == false }}
- run: git config --global --add safe.directory ${{ inputs.LFS_REPO_PATH }}
if: ${{ inputs.ENABLE_LFS == true }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-step-build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.CHECKOUT_REF }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-step-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v2
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
env: ${{ fromJson(inputs.ENV_VARIABLES) }}
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.CHECKOUT_REF }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dotnet-workflow-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check code formatting
uses: zupit-it/pipeline-templates/.github/actions/dotnet/[email protected]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ jobs:
NAME_PREFIX: node-build

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.CHECKOUT_REF }}

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/node-step-docker-build-and-push-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.CHECKOUT_REF }}

Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ inputs.CHECKOUT_REF }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-step-format-lint-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ inputs.NODE_VERSION }}
uses: actions/setup-node@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/node-step-test-cypress.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Authenticate with private NPM package
if: ${{ env.github_token }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python ${{ inputs.PYTHON_VERSION }} Environment
uses: actions/setup-python@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.ZUPIT_BOT_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar-step-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar-step-dotnet-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sonar-step-flutter-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
working-directory: ${{ inputs.WORKING_DIRECTORY }}
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download coverage artifact
if: ${{ inputs.DOWNLOAD_ARTIFACT }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/springboot-step-lint-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check code is linted correctly
run: ./mvnw -ntp spotless:check -Dmaven.repo.local=${{inputs.MAVEN_USER_HOME}} ${{inputs.EXTRA_MAVEN_ARGS}}
- name: Check code is styled correctly
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/springboot-step-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Run tests
run: |
./mvnw -ntp verify -Dmaven.repo.local=${{inputs.MAVEN_USER_HOME}} ${{inputs.EXTRA_MAVEN_ARGS}}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ This is an example to show how data should be formatted.
```yaml
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Build & Push Docker
id: docker
Expand Down

0 comments on commit 3570dfb

Please sign in to comment.