From 15c077d5118c12974a721418d0b969fc4b70b683 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 7 Jun 2024 16:35:43 +0100 Subject: [PATCH] Update the GitHub Actions dependencies used by make_workflows. Fixes various CI warnings. --- .github/workflows/test-devel.yml | 284 ++++++++++----------- .github/workflows/test-devel_release.yml | 48 ++-- .github/workflows/test-stable.yml | 308 +++++++++++------------ make_workflows.py | 22 +- 4 files changed, 331 insertions(+), 331 deletions(-) diff --git a/.github/workflows/test-devel.yml b/.github/workflows/test-devel.yml index 036cc00..18359e6 100644 --- a/.github/workflows/test-devel.yml +++ b/.github/workflows/test-devel.yml @@ -8,7 +8,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-anope-devel path: '~/.cache @@ -16,13 +16,13 @@ jobs: ${ github.workspace }/anope ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Anope - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: anope ref: '2.1' @@ -37,7 +37,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-anope path: ~/artefacts-*.tar.gz @@ -48,7 +48,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-bahamut-devel path: '~/.cache @@ -56,13 +56,13 @@ jobs: ${ github.workspace }/Bahamut ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Bahamut - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: Bahamut ref: master @@ -90,7 +90,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-bahamut.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-bahamut path: ~/artefacts-*.tar.gz @@ -101,7 +101,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-hybrid-devel path: '~/.cache @@ -109,13 +109,13 @@ jobs: ${ github.workspace }/ircd-hybrid ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Hybrid - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ircd-hybrid ref: 8.2.x @@ -129,7 +129,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-hybrid.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-hybrid path: ~/artefacts-*.tar.gz @@ -139,13 +139,13 @@ jobs: steps: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout InspIRCd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: inspircd ref: master @@ -159,7 +159,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-inspircd path: ~/artefacts-*.tar.gz @@ -170,7 +170,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-ngircd-devel path: '~/.cache @@ -178,13 +178,13 @@ jobs: ${ github.workspace }/ngircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout ngircd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ngircd ref: master @@ -200,7 +200,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-ngircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-ngircd path: ~/artefacts-*.tar.gz @@ -211,7 +211,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-plexus4-devel path: '~/.cache @@ -219,9 +219,9 @@ jobs: ${ github.workspace }/placeholder ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: clone @@ -242,7 +242,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-plexus4.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-plexus4 path: ~/artefacts-*.tar.gz @@ -253,7 +253,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-solanum-devel path: '~/.cache @@ -261,13 +261,13 @@ jobs: ${ github.workspace }/solanum ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Solanum - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: solanum ref: main @@ -282,7 +282,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-solanum.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-solanum path: ~/artefacts-*.tar.gz @@ -293,7 +293,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-unrealircd-devel path: '~/.cache @@ -301,13 +301,13 @@ jobs: ${ github.workspace }/unrealircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout UnrealIRCd 6 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: unrealircd ref: unreal60_dev @@ -328,7 +328,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-unrealircd path: ~/artefacts-*.tar.gz @@ -339,7 +339,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-unrealircd-5-devel path: '~/.cache @@ -347,13 +347,13 @@ jobs: ${ github.workspace }/unrealircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout UnrealIRCd 5 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: unrealircd ref: unreal52 @@ -374,7 +374,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-unrealircd-5 path: ~/artefacts-*.tar.gz @@ -408,9 +408,9 @@ jobs: - test-unrealircd-dlk runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Install dashboard dependencies @@ -435,13 +435,13 @@ jobs: - build-bahamut runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' @@ -459,7 +459,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut_devel path: pytest.xml @@ -469,18 +469,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -498,7 +498,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut-anope_devel path: pytest.xml @@ -507,13 +507,13 @@ jobs: - build-bahamut runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' @@ -531,7 +531,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut-atheme_devel path: pytest.xml @@ -539,13 +539,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Ergo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ergo ref: master @@ -571,7 +571,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ergo_devel path: pytest.xml @@ -581,18 +581,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-hybrid path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -610,7 +610,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_hybrid_devel path: pytest.xml @@ -619,13 +619,13 @@ jobs: - build-inspircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' @@ -643,7 +643,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd_devel path: pytest.xml @@ -653,18 +653,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -682,7 +682,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd-anope_devel path: pytest.xml @@ -690,13 +690,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout ircu2 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ircu2 ref: u2_10_12_branch @@ -721,7 +721,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ircu2_devel path: pytest.xml @@ -729,9 +729,9 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies @@ -749,7 +749,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_limnoria_devel path: pytest.xml @@ -757,13 +757,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout nefarious - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: nefarious ref: master @@ -787,7 +787,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_nefarious_devel path: pytest.xml @@ -796,13 +796,13 @@ jobs: - build-ngircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' @@ -820,7 +820,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd_devel path: pytest.xml @@ -830,18 +830,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -859,7 +859,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd-anope_devel path: pytest.xml @@ -868,13 +868,13 @@ jobs: - build-ngircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' @@ -892,7 +892,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd-atheme_devel path: pytest.xml @@ -902,18 +902,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-plexus4 path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -931,7 +931,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_plexus4_devel path: pytest.xml @@ -939,13 +939,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Sable - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sable ref: master @@ -978,7 +978,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_sable_devel path: pytest.xml @@ -987,13 +987,13 @@ jobs: - build-solanum runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-solanum path: '~' @@ -1011,7 +1011,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_solanum_devel path: pytest.xml @@ -1019,9 +1019,9 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies @@ -1038,7 +1038,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_sopel_devel path: pytest.xml @@ -1046,13 +1046,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout TheLounge - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: thelounge ref: master @@ -1076,7 +1076,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_thelounge_devel path: pytest.xml @@ -1085,13 +1085,13 @@ jobs: - build-unrealircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' @@ -1109,7 +1109,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd_devel path: pytest.xml @@ -1118,13 +1118,13 @@ jobs: - build-unrealircd-5 runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd-5 path: '~' @@ -1142,7 +1142,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-5_devel path: pytest.xml @@ -1152,18 +1152,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -1181,7 +1181,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-anope_devel path: pytest.xml @@ -1190,13 +1190,13 @@ jobs: - build-unrealircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' @@ -1214,7 +1214,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-atheme_devel path: pytest.xml @@ -1223,20 +1223,20 @@ jobs: - build-unrealircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' - name: Unpack artefacts run: cd ~; find -name 'artefacts-*.tar.gz' -exec tar -xzf '{}' \; - name: Checkout Dlk - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: Dlk-Services ref: main @@ -1260,7 +1260,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-dlk_devel path: pytest.xml diff --git a/.github/workflows/test-devel_release.yml b/.github/workflows/test-devel_release.yml index 1e289b1..72c1f0a 100644 --- a/.github/workflows/test-devel_release.yml +++ b/.github/workflows/test-devel_release.yml @@ -8,7 +8,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-anope-devel_release path: '~/.cache @@ -16,13 +16,13 @@ jobs: ${ github.workspace }/anope ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Anope - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: anope ref: '2.0' @@ -37,7 +37,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-anope path: ~/artefacts-*.tar.gz @@ -47,13 +47,13 @@ jobs: steps: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout InspIRCd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: inspircd ref: insp3 @@ -67,7 +67,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-inspircd path: ~/artefacts-*.tar.gz @@ -81,9 +81,9 @@ jobs: - test-inspircd-atheme runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Install dashboard dependencies @@ -108,13 +108,13 @@ jobs: - build-inspircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' @@ -132,7 +132,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd_devel_release path: pytest.xml @@ -142,18 +142,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -171,7 +171,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd-anope_devel_release path: pytest.xml @@ -180,13 +180,13 @@ jobs: - build-inspircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' @@ -204,7 +204,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd-atheme_devel_release path: pytest.xml diff --git a/.github/workflows/test-stable.yml b/.github/workflows/test-stable.yml index 07b44e6..dfe7656 100644 --- a/.github/workflows/test-stable.yml +++ b/.github/workflows/test-stable.yml @@ -8,7 +8,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-anope-stable path: '~/.cache @@ -16,13 +16,13 @@ jobs: ${ github.workspace }/anope ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Anope - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: anope ref: 2.0.14 @@ -37,7 +37,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-anope.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-anope path: ~/artefacts-*.tar.gz @@ -48,7 +48,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-bahamut-stable path: '~/.cache @@ -56,13 +56,13 @@ jobs: ${ github.workspace }/Bahamut ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Bahamut - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: Bahamut ref: v2.2.1 @@ -90,7 +90,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-bahamut.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-bahamut path: ~/artefacts-*.tar.gz @@ -101,7 +101,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-charybdis-stable path: '~/.cache @@ -109,13 +109,13 @@ jobs: ${ github.workspace }/charybdis ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Charybdis - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: charybdis ref: charybdis-4.1.2 @@ -131,7 +131,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-charybdis.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-charybdis path: ~/artefacts-*.tar.gz @@ -142,7 +142,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-hybrid-stable path: '~/.cache @@ -150,13 +150,13 @@ jobs: ${ github.workspace }/ircd-hybrid ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Hybrid - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ircd-hybrid ref: 8.2.39 @@ -170,7 +170,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-hybrid.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-hybrid path: ~/artefacts-*.tar.gz @@ -180,13 +180,13 @@ jobs: steps: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout InspIRCd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: inspircd ref: v3.17.0 @@ -200,7 +200,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-inspircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-inspircd path: ~/artefacts-*.tar.gz @@ -211,7 +211,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-ngircd-stable path: '~/.cache @@ -219,13 +219,13 @@ jobs: ${ github.workspace }/ngircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout ngircd - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ngircd ref: 3e3f6cbeceefd9357b53b27c2386bb39306ab353 @@ -241,7 +241,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-ngircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-ngircd path: ~/artefacts-*.tar.gz @@ -252,7 +252,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-plexus4-stable path: '~/.cache @@ -260,9 +260,9 @@ jobs: ${ github.workspace }/placeholder ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: clone @@ -283,7 +283,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-plexus4.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-plexus4 path: ~/artefacts-*.tar.gz @@ -294,7 +294,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-solanum-stable path: '~/.cache @@ -302,13 +302,13 @@ jobs: ${ github.workspace }/solanum ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Solanum - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: solanum ref: 492d560ee13e71dc35403fd676e58c2d5bdcf2a9 @@ -323,7 +323,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-solanum.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-solanum path: ~/artefacts-*.tar.gz @@ -334,7 +334,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-unrealircd-stable path: '~/.cache @@ -342,13 +342,13 @@ jobs: ${ github.workspace }/unrealircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout UnrealIRCd 6 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: unrealircd ref: da3c1c654481a33035b9c703957e1c25d0158259 @@ -369,7 +369,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-unrealircd path: ~/artefacts-*.tar.gz @@ -380,7 +380,7 @@ jobs: - name: Create directories run: cd ~/; mkdir -p .local/ go/ - name: Cache dependencies - uses: actions/cache@v3 + uses: actions/cache@v4 with: key: 3-${{ runner.os }}-unrealircd-5-stable path: '~/.cache @@ -388,13 +388,13 @@ jobs: ${ github.workspace }/unrealircd ' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout UnrealIRCd 5 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: unrealircd ref: 6604856973f713a494f83d38992d7d61ce6b9db4 @@ -415,7 +415,7 @@ jobs: - name: Make artefact tarball run: cd ~; tar -czf artefacts-unrealircd-5.tar.gz .local/ go/ - name: Upload build artefacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: installed-unrealircd-5 path: ~/artefacts-*.tar.gz @@ -451,9 +451,9 @@ jobs: - test-unrealircd-atheme runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download Artifacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: path: artifacts - name: Install dashboard dependencies @@ -478,13 +478,13 @@ jobs: - build-bahamut runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' @@ -502,7 +502,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut_stable path: pytest.xml @@ -512,18 +512,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -541,7 +541,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut-anope_stable path: pytest.xml @@ -550,13 +550,13 @@ jobs: - build-bahamut runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-bahamut path: '~' @@ -574,7 +574,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_bahamut-atheme_stable path: pytest.xml @@ -583,13 +583,13 @@ jobs: - build-charybdis runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-charybdis path: '~' @@ -607,7 +607,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_charybdis_stable path: pytest.xml @@ -615,13 +615,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Ergo - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ergo ref: irctest_stable @@ -647,7 +647,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ergo_stable path: pytest.xml @@ -657,18 +657,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-hybrid path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -686,7 +686,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_hybrid_stable path: pytest.xml @@ -695,13 +695,13 @@ jobs: - build-inspircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' @@ -719,7 +719,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd_stable path: pytest.xml @@ -729,18 +729,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -758,7 +758,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd-anope_stable path: pytest.xml @@ -767,13 +767,13 @@ jobs: - build-inspircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-inspircd path: '~' @@ -791,7 +791,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_inspircd-atheme_stable path: pytest.xml @@ -799,13 +799,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout irc2 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: irc2.11.2p3 ref: 59649f24c3a5c27bad5648b48774f27475bccfd3 @@ -841,7 +841,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_irc2_stable path: pytest.xml @@ -849,13 +849,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout ircu2 - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: ircu2 ref: u2.10.12.19 @@ -880,7 +880,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ircu2_stable path: pytest.xml @@ -888,9 +888,9 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies @@ -907,7 +907,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_limnoria_stable path: pytest.xml @@ -915,13 +915,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout nefarious - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: nefarious ref: 985704168ecada12d9e53b46df6087ef9d9fb40b @@ -945,7 +945,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_nefarious_stable path: pytest.xml @@ -954,13 +954,13 @@ jobs: - build-ngircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' @@ -978,7 +978,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd_stable path: pytest.xml @@ -988,18 +988,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -1017,7 +1017,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd-anope_stable path: pytest.xml @@ -1026,13 +1026,13 @@ jobs: - build-ngircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-ngircd path: '~' @@ -1050,7 +1050,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_ngircd-atheme_stable path: pytest.xml @@ -1060,18 +1060,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-plexus4 path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -1089,7 +1089,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_plexus4_stable path: pytest.xml @@ -1097,13 +1097,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout Sable - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: sable ref: e9701e5e8d0c4f278ddd61ce7285f4918ecf99e9 @@ -1136,7 +1136,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_sable_stable path: pytest.xml @@ -1145,13 +1145,13 @@ jobs: - build-solanum runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-solanum path: '~' @@ -1169,7 +1169,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_solanum_stable path: pytest.xml @@ -1177,9 +1177,9 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Install dependencies @@ -1196,7 +1196,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_sopel_stable path: pytest.xml @@ -1204,13 +1204,13 @@ jobs: needs: [] runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Checkout TheLounge - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: path: thelounge ref: v4.4.0 @@ -1234,7 +1234,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_thelounge_stable path: pytest.xml @@ -1243,13 +1243,13 @@ jobs: - build-unrealircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' @@ -1267,7 +1267,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd_stable path: pytest.xml @@ -1276,13 +1276,13 @@ jobs: - build-unrealircd-5 runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd-5 path: '~' @@ -1300,7 +1300,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-5_stable path: pytest.xml @@ -1310,18 +1310,18 @@ jobs: - build-anope runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-anope path: '~' @@ -1339,7 +1339,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-anope_stable path: pytest.xml @@ -1348,13 +1348,13 @@ jobs: - build-unrealircd runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.11 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: 3.11 - name: Download build artefacts - uses: actions/download-artifact@v3 + uses: actions/download-artifact@v4 with: name: installed-unrealircd path: '~' @@ -1372,7 +1372,7 @@ jobs: timeout-minutes: 30 - if: always() name: Publish results - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: name: pytest-results_unrealircd-atheme_stable path: pytest.xml diff --git a/make_workflows.py b/make_workflows.py index d3837c4..dc30dd5 100644 --- a/make_workflows.py +++ b/make_workflows.py @@ -65,7 +65,7 @@ def get_install_steps(*, software_config, software_id, version_flavor): install_steps = [ { "name": f"Checkout {name}", - "uses": "actions/checkout@v3", + "uses": "actions/checkout@v4", "with": { "repository": software_config["repository"], "ref": ref, @@ -94,7 +94,7 @@ def get_build_job(*, software_config, software_id, version_flavor): cache = [ { "name": "Cache dependencies", - "uses": "actions/cache@v3", + "uses": "actions/cache@v4", "with": { "path": f"~/.cache\n${{ github.workspace }}/{path}\n", "key": "3-${{ runner.os }}-" @@ -123,10 +123,10 @@ def get_build_job(*, software_config, software_id, version_flavor): "run": "cd ~/; mkdir -p .local/ go/", }, *cache, - {"uses": "actions/checkout@v3"}, + {"uses": "actions/checkout@v4"}, { "name": "Set up Python 3.11", - "uses": "actions/setup-python@v4", + "uses": "actions/setup-python@v5", "with": {"python-version": 3.11}, }, *install_steps, @@ -160,7 +160,7 @@ def get_test_job(*, config, test_config, test_id, version_flavor, jobs): downloads.append( { "name": "Download build artefacts", - "uses": "actions/download-artifact@v3", + "uses": "actions/download-artifact@v4", "with": {"name": f"installed-{software_id}", "path": "~"}, } ) @@ -195,10 +195,10 @@ def get_test_job(*, config, test_config, test_id, version_flavor, jobs): "runs-on": "ubuntu-22.04", "needs": needs, "steps": [ - {"uses": "actions/checkout@v3"}, + {"uses": "actions/checkout@v4"}, { "name": "Set up Python 3.11", - "uses": "actions/setup-python@v4", + "uses": "actions/setup-python@v5", "with": {"python-version": 3.11}, }, *downloads, @@ -232,7 +232,7 @@ def get_test_job(*, config, test_config, test_id, version_flavor, jobs): { "name": "Publish results", "if": "always()", - "uses": "actions/upload-artifact@v3", + "uses": "actions/upload-artifact@v4", "with": { "name": f"pytest-results_{test_id}_{version_flavor.value}", "path": "pytest.xml", @@ -251,7 +251,7 @@ def upload_steps(software_id): }, { "name": "Upload build artefacts", - "uses": "actions/upload-artifact@v3", + "uses": "actions/upload-artifact@v4", "with": { "name": f"installed-{software_id}", "path": "~/artefacts-*.tar.gz", @@ -312,10 +312,10 @@ def generate_workflow(config: dict, version_flavor: VersionFlavor): # this job then "if": "success() || failure()", "steps": [ - {"uses": "actions/checkout@v3"}, + {"uses": "actions/checkout@v4"}, { "name": "Download Artifacts", - "uses": "actions/download-artifact@v3", + "uses": "actions/download-artifact@v4", "with": {"path": "artifacts"}, }, {