Skip to content

Commit

Permalink
HPCC-30194 Apply updated action versions for all workflows
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Gardner <[email protected]>
  • Loading branch information
Michael-Gardner committed Feb 8, 2024
1 parent 9cc7dbb commit 93ac0ac
Show file tree
Hide file tree
Showing 13 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.repository == 'hpcc-systems/HPCC-Platform'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
if: github.repository == 'hpcc-systems/HPCC-Platform'
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
Expand All @@ -42,7 +42,7 @@ jobs:
engine: ['ml', 'gnn', 'gnn-gpu']
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-assets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,7 +359,7 @@ jobs:

- name: Upload error logs
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.ln }}-${{ matrix.container }}-${{ matrix.documentation }}-logs
path: ${{ needs.preamble.outputs.folder_build }}/**/*.log
Expand Down Expand Up @@ -472,7 +472,7 @@ jobs:

- name: Upload error logs
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-logs
path: ./build/**/*.log
8 changes: 4 additions & 4 deletions .github/workflows/build-containers-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
echo "platform_build = ${{ steps.vars.outputs.platform_build }}"
- name: Checkout PR
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Calculate vcpkg vars
id: vcpkg_vars
Expand All @@ -78,7 +78,7 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3
with:
driver: docker

Expand Down Expand Up @@ -107,7 +107,7 @@ jobs:
# or they'll be a "latest" which will have been picked up by the check-images step.
- name: branch image
if: ${{ steps.check-images.outputs.prbase_missing == '1' }}
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: ./dockerfiles/platform-build/Dockerfile
Expand All @@ -127,7 +127,7 @@ jobs:
BUILD_THREADS=${{ steps.vars.outputs.build_threads }}
- name: PR image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: ./dockerfiles/platform-build-incremental-container/Dockerfile
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/build-containers-target-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
echo "build_base_label = ${{ steps.vars.outputs.build_base_label }}"
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Calculate vcpkg vars
id: vcpkg_vars
Expand All @@ -75,24 +75,24 @@ jobs:
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

# - name: Login to GitHub Container Registry
# uses: docker/login-action@v1
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

# build branch image
- name: branch image
uses: docker/build-push-action@v2
uses: docker/build-push-action@v5
with:
context: .
file: ./dockerfiles/platform-build/Dockerfile
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test-eclwatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,21 @@ jobs:
build:
strategy:
matrix:
node: ["16", "14"]
node: ["20", "16", "14"]
fail-fast: false
name: "Check eclwatch and npm"
needs: pre_job
if: ${{ needs.pre_job.outputs.eclwatch }}
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: "recursive"
- uses: actions/setup-node@v2
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ./esp/src/node_modules
key: npm-deps-${{ hashFiles('./esp/src/package-lock.json') }}
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/build-vcpkg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@ jobs:
- name: Checkout HPCC-Platform
if: ${{ contains(matrix.event_name, github.event_name) && needs.preamble.outputs.platform }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.preamble.outputs.community_ref }}
submodules: recursive
path: ${{ needs.preamble.outputs.folder_platform }}

- name: Checkout LN
if: ${{ matrix.ln && contains(matrix.event_name, github.event_name) }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.repository_owner }}/LN
token: ${{ secrets.LNB_TOKEN }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
- name: Set up Docker Buildx
if: ${{ contains(matrix.event_name, github.event_name) && needs.preamble.outputs.platform }}
id: buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Pull previous images
run: |
Expand All @@ -151,7 +151,7 @@ jobs:
- name: Create Build Image
if: ${{ contains(matrix.event_name, github.event_name) && needs.preamble.outputs.platform }}
uses: docker/build-push-action@v4
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
file: ${{ needs.preamble.outputs.folder_platform }}/dockerfiles/vcpkg/${{ matrix.os }}.dockerfile
Expand Down Expand Up @@ -215,7 +215,7 @@ jobs:
# Common ---
- name: Upload error logs
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}-${{ matrix.ln }}-${{ matrix.container }}-logs
path: ${{ needs.preamble.outputs.folder_build }}/**/*.log
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
- name: Checkout HPCC-Platform
if: ${{ contains(matrix.event_name, github.event_name) && needs.preamble.outputs.platform }}
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ needs.preamble.outputs.community_ref }}
submodules: recursive
Expand Down Expand Up @@ -360,7 +360,7 @@ jobs:
- name: Upload error logs
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}--${{ matrix.ln }}-${{ matrix.container }}-logs
path: ./build/**/*.log
6 changes: 3 additions & 3 deletions .github/workflows/codeql-eclwatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ jobs:

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -80,4 +80,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v3
2 changes: 1 addition & 1 deletion .github/workflows/jirabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
jirabot:
runs-on: ubuntu-20.04
steps:
- uses: "actions/setup-python@v2"
- uses: "actions/setup-python@v5"
with:
python-version: "3.8"
- name: "Install dependencies"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
run: |
echo "::set-output name=date::$(date +'%Y-%m-%d')"
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Build
uses: ./dockerfiles
with:
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/smoketest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ jobs:
# NB: restore-keys set to e.g. hpccbuild-2-7.12.10, hpccbuild-2-7.12, hpccbuild-2-7, hpccbuild-2-
- name: Fetch cache
id: cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
build-cache
Expand Down Expand Up @@ -292,7 +292,7 @@ jobs:
- name: build-logs-artifact
if: ${{ failure() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: build-logs
path: |
Expand Down Expand Up @@ -356,7 +356,7 @@ jobs:
- name: regression-setup-logs-artifact
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: regress-setup-logs
path: |
Expand All @@ -376,7 +376,7 @@ jobs:
- name: Upload install artifact
if: ${{ steps.check-cache.outputs.state != '' && github.event_name == 'pull_request' }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: installsetup-artifact
path: |
Expand Down Expand Up @@ -419,7 +419,7 @@ jobs:
pattern: teststdlibrary.ecl

steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: installsetup-artifact

Expand Down Expand Up @@ -468,7 +468,7 @@ jobs:
- name: regression-run-logs-artifact
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: regression-run-logs-${{ matrix.engine }}-${{ steps.vars.outputs.matrix-setname }}
path: |
Expand All @@ -485,7 +485,7 @@ jobs:
timeout-minutes: 30 # the unittests run step has its own timeout, however the job can sometimes take time to download dependencies
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: installsetup-artifact

Expand Down Expand Up @@ -516,7 +516,7 @@ jobs:
timeout-minutes: 30 # the ui-tests run step has its own timeout, however the job can sometimes take time to download dependencies
runs-on: ubuntu-22.04
steps:
- uses: actions/download-artifact@v2
- uses: actions/download-artifact@v4
with:
name: installsetup-artifact

Expand Down Expand Up @@ -585,7 +585,7 @@ jobs:
- name: eclwatch-ui-test-logs-artifact
if: ${{ failure() || cancelled() }}
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: ECLWatchUiTest
path: install/test-ui/eclWatchUiTest.log
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-eclhelper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout pr
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Fetch base
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-helm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
needs: pre_job
if: ${{ github.repository == 'hpcc-systems/HPCC-Platform' && needs.pre_job.outputs.helm }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
submodules: false
- uses: azure/setup-helm@v3
Expand Down

0 comments on commit 93ac0ac

Please sign in to comment.