-
Notifications
You must be signed in to change notification settings - Fork 695
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates github checkout actions to v4 (#7611)
Updates checkout plugin for github actions to v4. Can not update the version for check-sql-snapshots since new plugin causes below error in the docker image this step is using . Please refer to: https://github.com/citusdata/citus/actions/runs/9286197994/job/25552373953 Error: ``` /__e/node20/bin/node: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.27' not found (required by /__e/node20/bin/node) /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /__e/node20/bin/node) /__e/node20/bin/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /__e/node20/bin/node) ``` (cherry picked from commit 3fe2240)
- Loading branch information
1 parent
8ffab05
commit 13d74e9
Showing
3 changed files
with
16 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,7 @@ jobs: | |
image: ${{ needs.params.outputs.build_image_name }}:latest | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- name: Check Snapshots | ||
run: | | ||
git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
|
@@ -56,7 +56,7 @@ jobs: | |
- name: Check Snapshots | ||
run: | | ||
git config --global --add safe.directory ${GITHUB_WORKSPACE} | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Check C Style | ||
|
@@ -110,7 +110,7 @@ jobs: | |
image: "${{ matrix.image_name }}:${{ fromJson(matrix.pg_version).full }}${{ matrix.image_suffix }}" | ||
options: --user root | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- name: Expose $PG_MAJOR to Github Env | ||
run: echo "PG_MAJOR=${PG_MAJOR}" >> $GITHUB_ENV | ||
shell: bash | ||
|
@@ -204,7 +204,7 @@ jobs: | |
- params | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run Test | ||
run: gosu circleci make -C src/test/${{ matrix.suite }} ${{ matrix.make }} | ||
|
@@ -238,7 +238,7 @@ jobs: | |
- ${{ needs.params.outputs.pg15_version }} | ||
parallel: [0,1,2,3,4,5] # workaround for running 6 parallel jobs | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Test arbitrary configs | ||
run: |- | ||
|
@@ -288,7 +288,7 @@ jobs: | |
old_pg_major: ${{ matrix.old_pg_major }} | ||
new_pg_major: ${{ matrix.new_pg_major }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
pg_major: "${{ env.old_pg_major }}" | ||
|
@@ -328,7 +328,7 @@ jobs: | |
- params | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/setup_extension" | ||
with: | ||
skip_installation: true | ||
|
@@ -395,7 +395,7 @@ jobs: | |
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
|
@@ -413,7 +413,7 @@ jobs: | |
needs: | ||
- build | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: azure/login@v1 | ||
with: | ||
creds: ${{ secrets.AZURE_CREDENTIALS }} | ||
|
@@ -432,7 +432,7 @@ jobs: | |
outputs: | ||
json: ${{ steps.parallelization.outputs.json }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: "./.github/actions/parallelization" | ||
id: parallelization | ||
with: | ||
|
@@ -445,7 +445,7 @@ jobs: | |
outputs: | ||
tests: ${{ steps.detect-regression-tests.outputs.tests }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Detect regression tests need to be ran | ||
|
@@ -480,7 +480,7 @@ jobs: | |
fail-fast: false | ||
matrix: ${{ fromJson(needs.prepare_parallelization_matrix_32.outputs.json) }} | ||
steps: | ||
- uses: actions/checkout@v3.5.0 | ||
- uses: actions/checkout@v4 | ||
- uses: actions/[email protected] | ||
- uses: "./.github/actions/setup_extension" | ||
- name: Run minimal tests | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters