Switch to node20 for github actions

See https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
This commit is contained in:
Mats Kindahl 2024-01-31 15:15:13 +01:00 committed by Mats Kindahl
parent bf20e5f970
commit ac12c43c64
27 changed files with 75 additions and 75 deletions

View File

@ -32,7 +32,7 @@ jobs:
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: config id: config
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -85,7 +85,7 @@ jobs:
steps: steps:
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build extension - name: Build extension
run: | run: |
@ -142,14 +142,14 @@ jobs:
- name: Save regression diffs - name: Save regression diffs
if: always() && steps.collectlogs.outputs.regression_diff == 'true' if: always() && steps.collectlogs.outputs.regression_diff == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Regression diff ABI Breakage ${{ matrix.type }} PG${{ matrix.pg }} name: Regression diff ABI Breakage ${{ matrix.type }} PG${{ matrix.pg }}
path: regression.log path: regression.log
- name: Save postmaster.log - name: Save postmaster.log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log ABI Breakage ${{ matrix.type }} PG${{ matrix.pg }} name: PostgreSQL log ABI Breakage ${{ matrix.type }} PG${{ matrix.pg }}
path: postgres.log path: postgres.log

View File

@ -61,7 +61,7 @@ jobs:
dpkg -L timescaledb-2-postgresql-${{ matrix.pg }} dpkg -L timescaledb-2-postgresql-${{ matrix.pg }}
EOF EOF
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Read versions - name: Read versions
id: versions id: versions

View File

@ -55,7 +55,7 @@ jobs:
run: | run: |
dpkg -L timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} dpkg -L timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }}
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Read versions - name: Read versions
id: versions id: versions

View File

@ -33,7 +33,7 @@ jobs:
pip install PyGithub requests pip install PyGithub requests
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run the Backport Script - name: Run the Backport Script
env: env:

View File

@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 fetch-depth: 0

View File

@ -32,7 +32,7 @@ jobs:
pip install PyGithub pip install PyGithub
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 fetch-depth: 0

View File

@ -20,7 +20,7 @@ jobs:
sudo apt-get -y install coccinelle sudo apt-get -y install coccinelle
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run coccinelle - name: Run coccinelle
run: | run: |
@ -28,7 +28,7 @@ jobs:
- name: Save coccinelle.diff - name: Save coccinelle.diff
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: coccinelle.diff name: coccinelle.diff
path: coccinelle.diff path: coccinelle.diff

View File

@ -14,7 +14,7 @@ jobs:
- name: Install prerequisites - name: Install prerequisites
run: pip install cmakelang run: pip install cmakelang
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run format on CMake files - name: Run format on CMake files
run: | run: |
find -name CMakeLists.txt -exec cmake-format -i {} + find -name CMakeLists.txt -exec cmake-format -i {} +
@ -29,7 +29,7 @@ jobs:
- name: Install prerequisites - name: Install prerequisites
run: sudo apt install perltidy run: sudo apt install perltidy
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Check trailing whitespace - name: Check trailing whitespace
if: always() if: always()
run: | run: |
@ -49,7 +49,7 @@ jobs:
run: | run: |
pip install yamllint pip install yamllint
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run yamllint - name: Run yamllint
run: | run: |
find . -type f \( -name "*.yaml" -or -name "*.yml" \) -print -exec yamllint {} \+ find . -type f \( -name "*.yaml" -or -name "*.yml" \) -print -exec yamllint {} \+
@ -62,7 +62,7 @@ jobs:
run: | run: |
pip install codespell pip install codespell
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run codespell - name: Run codespell
run: | run: |
find . -type f \( -name "*.c" -or -name "*.h" -or -name "*.yaml" -or -name "*.sh" \) \ find . -type f \( -name "*.c" -or -name "*.h" -or -name "*.yaml" -or -name "*.sh" \) \
@ -75,7 +75,7 @@ jobs:
fail-fast: false fail-fast: false
steps: steps:
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Check trailing whitespace - name: Check trailing whitespace
if: always() if: always()
run: | run: |
@ -108,7 +108,7 @@ jobs:
pip list pip list
pip list --user pip list --user
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Run prospector - name: Run prospector
run: | run: |
find . -type f -name "*.py" -print -exec prospector {} + -exec black {} + find . -type f -name "*.py" -print -exec prospector {} + -exec black {} +
@ -122,7 +122,7 @@ jobs:
steps: steps:
- name: Checkout source - name: Checkout source
if: always() if: always()
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Check license - name: Check license
if: always() if: always()
run: ./scripts/check_license_all.sh run: ./scripts/check_license_all.sh

View File

@ -27,7 +27,7 @@ jobs:
sudo apt-get install postgresql-${{ matrix.pg }} postgresql-server-dev-${{ matrix.pg }} sudo apt-get install postgresql-${{ matrix.pg }} postgresql-server-dev-${{ matrix.pg }}
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Coverity tools - name: Coverity tools
run: | run: |

View File

@ -40,7 +40,7 @@ jobs:
brew services start postgresql@16 brew services start postgresql@16
# checkout code to get version information # checkout code to get version information
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Test Installation - name: Test Installation
run: | run: |

View File

@ -31,7 +31,7 @@ jobs:
libtest-most-perl tree libtest-most-perl tree
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: config id: config
@ -75,7 +75,7 @@ jobs:
- name: Upload config.log - name: Upload config.log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: config.log for PostgreSQL name: config.log for PostgreSQL
path: ~/${{ env.PG_SRC_DIR }}/config.log path: ~/${{ env.PG_SRC_DIR }}/config.log
@ -104,7 +104,7 @@ jobs:
run: 7z a install.7z $HOME/$PG_INSTALL_DIR run: 7z a install.7z $HOME/$PG_INSTALL_DIR
- name: Save the installation directory - name: Save the installation directory
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: fuzzing-install-dir name: fuzzing-install-dir
path: install.7z path: install.7z
@ -142,7 +142,7 @@ jobs:
sudo apt install 7zip systemd-coredump gdb sudo apt install 7zip systemd-coredump gdb
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Download the installation directory - name: Download the installation directory
uses: actions/download-artifact@v3 uses: actions/download-artifact@v3
@ -283,7 +283,7 @@ jobs:
- name: Save PostgreSQL log - name: Save PostgreSQL log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log for ${{ steps.config.outputs.name }} name: PostgreSQL log for ${{ steps.config.outputs.name }}
path: postgres.log path: postgres.log
@ -298,7 +298,7 @@ jobs:
- name: Save interesting cases - name: Save interesting cases
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Interesting cases for ${{ steps.config.outputs.name }} name: Interesting cases for ${{ steps.config.outputs.name }}
path: interesting/ path: interesting/
@ -356,7 +356,7 @@ jobs:
- name: Upload core dumps - name: Upload core dumps
if: always() && steps.collectlogs.outputs.coredumps == 'true' if: always() && steps.collectlogs.outputs.coredumps == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Coredumps for ${{ steps.config.outputs.name }} name: Coredumps for ${{ steps.config.outputs.name }}
path: coredumps path: coredumps

View File

@ -25,7 +25,7 @@ jobs:
pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }} pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: setter id: setter
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py

View File

@ -21,7 +21,7 @@ jobs:
pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }} pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: setter id: setter
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -54,7 +54,7 @@ jobs:
steps: steps:
# /__e/node16/bin/node (used by actions/checkout@v3) needs 64-bit libraries # /__e/node16/bin/node (used by actions/checkout@v4) needs 64-bit libraries
- name: Install 64-bit libraries for GitHub actions - name: Install 64-bit libraries for GitHub actions
run: | run: |
apt-get update apt-get update
@ -70,7 +70,7 @@ jobs:
icu-devtools icu-devtools
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
# We are going to rebuild Postgres daily, so that it doesn't suddenly break # We are going to rebuild Postgres daily, so that it doesn't suddenly break
# ages after the original problem. # ages after the original problem.
@ -186,7 +186,7 @@ jobs:
- name: Save regression diffs - name: Save regression diffs
if: always() && steps.collectlogs.outputs.regression_diff == 'true' if: always() && steps.collectlogs.outputs.regression_diff == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Regression diff linux-i386 PG${{ matrix.pg }} name: Regression diff linux-i386 PG${{ matrix.pg }}
path: | path: |
@ -195,21 +195,21 @@ jobs:
- name: Save stacktraces - name: Save stacktraces
if: always() && steps.coredumps.outputs.coredumps == 'true' if: always() && steps.coredumps.outputs.coredumps == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Stacktraces linux-i386 PG${{ matrix.pg }} name: Stacktraces linux-i386 PG${{ matrix.pg }}
path: stacktrace.log path: stacktrace.log
- name: Save PostgreSQL log - name: Save PostgreSQL log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log linux-i386 PG${{ matrix.pg }} name: PostgreSQL log linux-i386 PG${{ matrix.pg }}
path: postgres.log path: postgres.log
- name: Save TAP test logs - name: Save TAP test logs
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: TAP test logs ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: TAP test logs ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: | path: |

View File

@ -24,7 +24,7 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }} matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build matrix - name: Build matrix
id: set-matrix id: set-matrix

View File

@ -27,7 +27,7 @@ jobs:
matrix: ${{ steps.set-matrix.outputs.matrix }} matrix: ${{ steps.set-matrix.outputs.matrix }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build matrix - name: Build matrix
id: set-matrix id: set-matrix
@ -87,7 +87,7 @@ jobs:
run: sudo chmod 777 /cores run: sudo chmod 777 /cores
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
# We are going to rebuild Postgres daily, so that it doesn't suddenly break # We are going to rebuild Postgres daily, so that it doesn't suddenly break
# ages after the original problem. # ages after the original problem.
@ -142,7 +142,7 @@ jobs:
- name: Upload config.log - name: Upload config.log
if: always() && steps.cache-postgresql.outputs.cache-hit != 'true' if: always() && steps.cache-postgresql.outputs.cache-hit != 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: config.log for PostgreSQL ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: config.log for PostgreSQL ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: ~/${{ env.PG_SRC_DIR }}/config.log path: ~/${{ env.PG_SRC_DIR }}/config.log
@ -193,7 +193,7 @@ jobs:
- name: Save LCOV coverage report - name: Save LCOV coverage report
if: matrix.coverage if: matrix.coverage
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: LCOV coverage report ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: LCOV coverage report ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: ./build/codecov/codecov-report path: ./build/codecov/codecov-report
@ -219,7 +219,7 @@ jobs:
- name: Save regression diffs - name: Save regression diffs
if: always() && steps.collectlogs.outputs.regression_diff == 'true' if: always() && steps.collectlogs.outputs.regression_diff == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Regression diff ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: Regression diff ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: | path: |
@ -228,7 +228,7 @@ jobs:
- name: Save PostgreSQL log - name: Save PostgreSQL log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: PostgreSQL log ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: postgres.log path: postgres.log
@ -265,14 +265,14 @@ jobs:
- name: Coredumps - name: Coredumps
if: always() && steps.collectlogs.outputs.coredumps == 'true' if: always() && steps.collectlogs.outputs.coredumps == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Coredumps ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: Coredumps ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: coredumps path: coredumps
- name: Save TAP test logs - name: Save TAP test logs
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: TAP test logs ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: TAP test logs ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: | path: |

View File

@ -25,7 +25,7 @@ jobs:
sudo apt-get install postgresql-${{ matrix.pg }} postgresql-server-dev-${{ matrix.pg }} sudo apt-get install postgresql-${{ matrix.pg }} postgresql-server-dev-${{ matrix.pg }}
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build TimescaleDB - name: Build TimescaleDB
run: | run: |

View File

@ -38,12 +38,12 @@ jobs:
steps: steps:
- name: Setup python 3.10 - name: Setup python 3.10
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: '3.10' python-version: '3.10'
- name: Checkout timescaledb - name: Checkout timescaledb
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Install pgspot - name: Install pgspot
run: | run: |

View File

@ -19,14 +19,14 @@ jobs:
name: Assign PR to author name: Assign PR to author
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: toshimaru/auto-author-assign@v1.6.1 - uses: toshimaru/auto-author-assign@v2.1
ask-review: ask-review:
name: Run pull-review name: Run pull-review
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }} if: ${{ !github.event.pull_request.draft }}
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Run pull-review with docker - name: Run pull-review with docker
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0 fetch-depth: 0
@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- name: Checkout source - name: Checkout source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Check if the pull request changes the loader - name: Check if the pull request changes the loader
shell: bash --norc --noprofile {0} shell: bash --norc --noprofile {0}

View File

@ -72,7 +72,7 @@ jobs:
run: | run: |
rpm -ql timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }} rpm -ql timescaledb-2${{ matrix.pkg_suffix }}-postgresql-${{ matrix.pg }}
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Read versions - name: Read versions
id: versions id: versions

View File

@ -56,7 +56,7 @@ jobs:
pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }} pg16_latest: ${{ steps.setter.outputs.PG16_LATEST }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: setter id: setter
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -81,7 +81,7 @@ jobs:
libtest-most-perl ${{ env.extra_packages }} libtest-most-perl ${{ env.extra_packages }}
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
# We are going to rebuild Postgres daily, so that it doesn't suddenly break # We are going to rebuild Postgres daily, so that it doesn't suddenly break
# ages after the original problem. # ages after the original problem.
@ -126,7 +126,7 @@ jobs:
- name: Upload config.log - name: Upload config.log
if: always() && steps.cache-postgresql.outputs.cache-hit != 'true' if: always() && steps.cache-postgresql.outputs.cache-hit != 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: config.log for PostgreSQL ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: config.log for PostgreSQL ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: ~/${{ env.PG_SRC_DIR }}/config.log path: ~/${{ env.PG_SRC_DIR }}/config.log
@ -171,7 +171,7 @@ jobs:
- name: Save regression diffs - name: Save regression diffs
if: always() && steps.collectlogs.outputs.regression_diff == 'true' if: always() && steps.collectlogs.outputs.regression_diff == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Regression diff ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }} name: Regression diff ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }}
path: | path: |
@ -180,7 +180,7 @@ jobs:
- name: Save PostgreSQL log - name: Save PostgreSQL log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }} name: PostgreSQL log ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }}
path: postgres.log path: postgres.log
@ -206,14 +206,14 @@ jobs:
- name: Coredumps - name: Coredumps
if: always() && steps.collectlogs.outputs.coredumps == 'true' if: always() && steps.collectlogs.outputs.coredumps == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Coredumps ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }} name: Coredumps ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }}
path: coredumps path: coredumps
- name: sanitizer logs - name: sanitizer logs
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: sanitizer logs ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }} name: sanitizer logs ${{ matrix.os }} ${{ env.name }} ${{ matrix.pg }}
path: ${{ github.workspace }}/sanitizer path: ${{ github.workspace }}/sanitizer

View File

@ -24,7 +24,7 @@ jobs:
sudo apt-get install shellcheck sudo apt-get install shellcheck
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 fetch-depth: 0

View File

@ -46,7 +46,7 @@ jobs:
{ psql -c "select 1" && exit 1 ; } || : { psql -c "select 1" && exit 1 ; } || :
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Build TimescaleDB - name: Build TimescaleDB
run: | run: |
@ -55,7 +55,7 @@ jobs:
sudo make -C build install sudo make -C build install
- name: Checkout sqlsmith - name: Checkout sqlsmith
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
repository: 'timescale/sqlsmith' repository: 'timescale/sqlsmith'
path: 'sqlsmith' path: 'sqlsmith'
@ -130,7 +130,7 @@ jobs:
- name: Upload Coredumps - name: Upload Coredumps
if: always() && steps.collectlogs.outputs.coredumps == 'true' if: always() && steps.collectlogs.outputs.coredumps == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Coredumps sqlsmith ${{ matrix.os }} PG${{ matrix.pg }} name: Coredumps sqlsmith ${{ matrix.os }} PG${{ matrix.pg }}
path: coredumps path: coredumps

View File

@ -12,7 +12,7 @@ jobs:
pg_latest: ${{ steps.setter.outputs.PG_LATEST }} pg_latest: ${{ steps.setter.outputs.PG_LATEST }}
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: setter id: setter
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -30,7 +30,7 @@ jobs:
POSTGRES_HOST_AUTH_METHOD: trust POSTGRES_HOST_AUTH_METHOD: trust
steps: steps:
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Update tests ${{ matrix.pg }} - name: Update tests ${{ matrix.pg }}
run: | run: |
@ -44,7 +44,7 @@ jobs:
- name: Upload Artifacts - name: Upload Artifacts
if: failure() if: failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Extension update diff ${{ matrix.pg }} name: Extension update diff ${{ matrix.pg }}
path: update_test.*.diff.* path: update_test.*.diff.*
@ -63,7 +63,7 @@ jobs:
GENERATE_DOWNGRADE_SCRIPT: ON GENERATE_DOWNGRADE_SCRIPT: ON
steps: steps:
- name: Checkout TimescaleDB - name: Checkout TimescaleDB
uses: actions/checkout@v3 uses: actions/checkout@v4
# We need the tags to be able to build a downgrade script. # We need the tags to be able to build a downgrade script.
- name: Fetch all tags - name: Fetch all tags
@ -88,7 +88,7 @@ jobs:
- name: Upload Artifacts - name: Upload Artifacts
if: failure() if: failure()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Extension downgrade diff ${{ matrix.pg }} name: Extension downgrade diff ${{ matrix.pg }}
path: downgrade_test.*.diff.* path: downgrade_test.*.diff.*

View File

@ -29,7 +29,7 @@ jobs:
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Set build_type - name: Set build_type
id: build_type id: build_type
run: | run: |

View File

@ -28,7 +28,7 @@ jobs:
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: config id: config
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -95,7 +95,7 @@ jobs:
git config --global core.eol lf git config --global core.eol lf
- name: Checkout TimescaleDB source - name: Checkout TimescaleDB source
uses: actions/checkout@v3 uses: actions/checkout@v4
# We are going to rebuild Postgres daily, so that it doesn't suddenly break # We are going to rebuild Postgres daily, so that it doesn't suddenly break
# ages after the original problem. # ages after the original problem.
@ -225,7 +225,7 @@ jobs:
- name: Save regression diffs - name: Save regression diffs
if: always() && steps.collectlogs.outputs.regression_diff == 'true' if: always() && steps.collectlogs.outputs.regression_diff == 'true'
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: Regression diff ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: Regression diff ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: | path: |
@ -234,7 +234,7 @@ jobs:
- name: Save PostgreSQL log - name: Save PostgreSQL log
if: always() if: always()
uses: actions/upload-artifact@v3 uses: actions/upload-artifact@v4
with: with:
name: PostgreSQL log ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }} name: PostgreSQL log ${{ matrix.os }} ${{ matrix.name }} ${{ matrix.pg }}
path: postgres.log path: postgres.log

View File

@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Checkout source code - name: Checkout source code
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Read configuration - name: Read configuration
id: config id: config
run: python .github/gh_config_reader.py run: python .github/gh_config_reader.py
@ -64,7 +64,7 @@ jobs:
steps: steps:
- name: Checkout TimescaleDB source - name: Checkout TimescaleDB source
uses: actions/checkout@v3 uses: actions/checkout@v4
- name: Get version - name: Get version
id: version id: version