Skip to content

Commit 00a877a

Browse files
authored
Merge pull request #1174 from citusdata/ihalatci-develop-modernize-workflows
update action versions
2 parents c12e69f + a07d796 commit 00a877a

7 files changed

Lines changed: 30 additions & 18 deletions

.github/workflows/build-citus-community-nightlies.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v6
4242

4343
# This step is to fetch the images unanonymously to have higher bandwidth
4444
- name: Login to Docker Hub
45-
uses: docker/login-action@v2
45+
uses: docker/login-action@v4
4646
with:
4747
username: ${{ secrets.DOCKERHUB_USER_NAME }}
4848
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -54,7 +54,9 @@ jobs:
5454
run: git clone -b "${MAIN_BRANCH}" --depth=1 https://github.com/citusdata/packaging.git packaging
5555

5656
- name: Install package dependencies
57-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
57+
run: |
58+
sudo apt-get update
59+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev python3-testresources
5860
5961
- name: Install python requirements
6062
run: python -m pip install -r tools/packaging_automation/requirements.txt

.github/workflows/build-package-test.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v6
3030
- name: Update and check dockerfiles
3131
run: |
3232
./update_dockerfiles
@@ -58,10 +58,12 @@ jobs:
5858
- TARGET_PLATFORM: pgxn
5959
steps:
6060
- name: Checkout repository
61-
uses: actions/checkout@v2
61+
uses: actions/checkout@v6
6262

6363
- name: Install package dependencies
64-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
64+
run: |
65+
sudo apt-get update
66+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev python3-testresources
6567
6668
- name: Install wheel for el/8
6769
if: matrix.TARGET_PLATFORM == 'centos,8'

.github/workflows/build-package.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
runs-on: ubuntu-latest
2727
steps:
2828
- name: Checkout repository
29-
uses: actions/checkout@v2
29+
uses: actions/checkout@v6
3030
- name: Update and check dockerfiles
3131
run: |
3232
./update_dockerfiles
@@ -58,10 +58,12 @@ jobs:
5858
- TARGET_PLATFORM: pgxn
5959
steps:
6060
- name: Checkout repository
61-
uses: actions/checkout@v2
61+
uses: actions/checkout@v6
6262

6363
- name: Install package dependencies
64-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
64+
run: |
65+
sudo apt-get update
66+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev python3-testresources
6567
6668
- name: Install wheel for el/8
6769
if: matrix.TARGET_PLATFORM == 'centos,8'

.github/workflows/build-pgazure-nightlies.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v2
42+
uses: actions/checkout@v6
4343

4444
# This step is to fetch the images unanonymously to have higher bandwidth
4545
- name: Login to Docker Hub
46-
uses: docker/login-action@v1
46+
uses: docker/login-action@v4
4747
with:
4848
username: ${{ secrets.DOCKERHUB_USER_NAME }}
4949
password: ${{ secrets.DOCKERHUB_PASSWORD }}
@@ -55,7 +55,9 @@ jobs:
5555
run: git clone -b "${MAIN_BRANCH}" --depth=1 https://github.com/citusdata/packaging.git packaging
5656

5757
- name: Install package dependencies
58-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
58+
run: |
59+
sudo apt-get update
60+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev python3-testresources
5961
6062
- name: Install python requirements
6163
run: python -m pip install -r tools/packaging_automation/requirements.txt

.github/workflows/image-health-check.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- name: Checkout repository
31-
uses: actions/checkout@v2
31+
uses: actions/checkout@v6
3232
- name: Update and check dockerfiles
3333
run: |
3434
./update_dockerfiles
@@ -60,10 +60,12 @@ jobs:
6060
- TARGET_PLATFORM: pgxn
6161
steps:
6262
- name: Checkout repository
63-
uses: actions/checkout@v2
63+
uses: actions/checkout@v6
6464

6565
- name: Install package dependencies
66-
run: sudo apt-get update && sudo apt-get install libcurl4-openssl-dev libssl-dev python3-testresources
66+
run: |
67+
sudo apt-get update
68+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev python3-testresources
6769
6870
- name: Install wheel for el/8
6971
if: matrix.TARGET_PLATFORM == 'centos,8'

.github/workflows/update-pgxn-version.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@ jobs:
1616
name: Update pgxn configuration
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v2
19+
- uses: actions/checkout@v6
2020

2121
- name: Install dependencies
22-
run: sudo apt install libcurl4-openssl-dev libssl-dev
22+
run: |
23+
sudo apt-get update
24+
sudo apt-get install -y libcurl4-openssl-dev libssl-dev
2325
2426
- name: Clone Tools branch
2527
run: git clone --branch v0.8.35 https://github.com/citusdata/tools.git

.github/workflows/update_package_properties.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
# Steps represent a sequence of tasks that will be executed as part of the job
2020
steps:
2121
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v6
2323

2424
# Runs a single command using the runners shell
2525
- name: Clone Tools branch

0 commit comments

Comments
 (0)