Skip to content

Commit

Permalink
Upgrade actions/checkout from v3 to v4
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrothaus committed Aug 27, 2024
1 parent ef27879 commit 8df841a
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 26 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deployment-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
stages-json: ${{ steps.build-and-push-image.outputs.stages-json }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Build image and push it to SetOps image registry"
id: build-and-push-image
uses: setopsco/github-actions/build-and-push-image@v3
Expand Down Expand Up @@ -113,7 +113,7 @@ jobs:
needs: build
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Deploy apps on SetOps"
id: deploy
uses: cgrothaus/setops-github-actions/deployment@use-node20-for-github-action
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-build-and-deployment-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

- name: Setup SetOps
uses: ./setup
Expand All @@ -46,7 +46,7 @@ jobs:
stages-json: ${{ steps.build-and-push-image.outputs.stages-json }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Build image and push it to SetOps image registry"
id: build-and-push-image
uses: ./build-and-push-image
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
needs: build
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Deploy apps on SetOps"
id: deploy
uses: ./deployment
Expand Down
32 changes: 16 additions & 16 deletions .github/workflows/test-setup-action-build.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'test-setup-action-build'
name: "test-setup-action-build"

on:
push:
Expand All @@ -14,22 +14,22 @@ jobs:
working-directory: ./setup

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

- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
- name: Setup Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: "16.x"

- name: Install
run: npm clean-install
- name: Install
run: npm clean-install

- name: Verify
run: |
npm run build
# Fail if "npm run build" generated new changes in dist
git update-index --refresh dist/* && git diff-index --quiet HEAD dist
- name: Verify
run: |
npm run build
# Fail if "npm run build" generated new changes in dist
git update-index --refresh dist/* && git diff-index --quiet HEAD dist
- name: Test
run: npm test
- name: Test
run: npm test
6 changes: 3 additions & 3 deletions .github/workflows/test-setup-action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
setops_versions: ["0.10.3", latest, next]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup SetOps - ${{ matrix['setops_versions'] }}
uses: ./setup
Expand All @@ -40,7 +40,7 @@ jobs:
setops_versions: [~0.9, 0.9.x, <0.10.0]
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup SetOps - ${{ matrix['setops_versions'] }}
uses: ./setup
Expand All @@ -58,7 +58,7 @@ jobs:

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

- name: Setup SetOps
uses: ./setup
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ jobs:
image-tag: ${{ steps.build_and_push_image.outputs.image-tag }}
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Build image and push it to SetOps image registry"
id: build_and_push_image
uses: setopsco/github-actions/build-and-push-image@v3
Expand Down Expand Up @@ -168,7 +168,7 @@ deploy:
needs: build
steps:
- name: "Checkout repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Deploy project on SetOps"
id: deploy
uses: cgrothaus/setops-github-actions/deployment@use-node20-for-github-action
Expand Down

0 comments on commit 8df841a

Please sign in to comment.