diff --git a/.github/workflows/build-without-conan.yml b/.github/workflows/build-without-conan.yml index faa7aa4264..740f00987b 100644 --- a/.github/workflows/build-without-conan.yml +++ b/.github/workflows/build-without-conan.yml @@ -190,7 +190,7 @@ jobs: cmake --build . -j2 cmake --install . - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Install pytket diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 3cadc33dd5..a23609e420 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -30,7 +30,7 @@ jobs: tket_package_exists: ${{ steps.tket_package_exists.outputs.tket_package_exists }} steps: - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 with: python-version: '3.11' - uses: dorny/paths-filter@v2.11.1 @@ -106,7 +106,7 @@ jobs: run: sudo apt update - name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.2 fails on macos-12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install conan @@ -260,17 +260,17 @@ jobs: conan create recipes/pybind11_json/all --version 0.2.13 - name: Set up Python (pull request) if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: Set up Python (push) if: github.event_name == 'push' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Set up Python (schedule) if: github.event_name == 'schedule' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Build pytket @@ -330,7 +330,7 @@ jobs: - uses: actions/checkout@v4 - name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.2 fails on macos-12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install conan @@ -370,12 +370,12 @@ jobs: run: brew install python@3.9 - name: Set up Python (push) if: github.event_name == 'push' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Set up Python (schedule) if: github.event_name == 'schedule' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Build pytket @@ -484,17 +484,17 @@ jobs: conan create recipes/pybind11_json/all --version 0.2.13 - name: Set up Python (3.9) if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.9" - name: Set up Python (3.10) if: github.event_name == 'push' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.10" - name: Set up Python (3.11) if: github.event_name == 'schedule' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.11" - name: Build pytket diff --git a/.github/workflows/build_libs.yml b/.github/workflows/build_libs.yml index 23153790a3..0430bfd22c 100644 --- a/.github/workflows/build_libs.yml +++ b/.github/workflows/build_libs.yml @@ -64,7 +64,7 @@ jobs: [IO.File]::WriteAllText($f, $normalized_file) } - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install conan diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 314034598f..ae68a0fd58 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.x - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.x' - name: Install black and pylint diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index f2d5cf4061..55f1c56cbe 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -25,7 +25,7 @@ jobs: - name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.2 fails on macos-12 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ef92819e26..c3de51c791 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -83,7 +83,7 @@ jobs: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install conan @@ -126,7 +126,7 @@ jobs: - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '3.9' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Set up Python 3.9 @@ -184,7 +184,7 @@ jobs: - name: Build tket run: conan create tket --user tket --channel stable --build=missing -o boost/*:header_only=True -o tklog/*:shared=True -o tket/*:shared=True -tf `"`" - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Build wheel @@ -208,7 +208,7 @@ jobs: python3-version: ['9', '10', '11'] steps: - name: Set up Python 3.${{ matrix.python3-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: "3.${{ matrix.python3-version }}" - name: Download wheels @@ -273,7 +273,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Download wheels @@ -303,7 +303,7 @@ jobs: steps: - name: Set up Python ${{ matrix.python-version }} if: matrix.python-version != '3.9' - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Set up Python 3.9 @@ -335,7 +335,7 @@ jobs: python-version: ['3.9', '3.10', '3.11'] steps: - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Download wheel @@ -385,7 +385,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Download wheels diff --git a/.github/workflows/test_libs.yml b/.github/workflows/test_libs.yml index 80e7907877..b5ec34c9bc 100644 --- a/.github/workflows/test_libs.yml +++ b/.github/workflows/test_libs.yml @@ -69,7 +69,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install conan diff --git a/.github/workflows/test_libs_all.yml b/.github/workflows/test_libs_all.yml index 5063fa2a23..6f95f00703 100644 --- a/.github/workflows/test_libs_all.yml +++ b/.github/workflows/test_libs_all.yml @@ -16,7 +16,7 @@ jobs: steps: - uses: actions/checkout@v4 - name: Set up Python 3.10 - uses: actions/setup-python@v4 + uses: actions/setup-python@v5 with: python-version: '3.10' - name: Install conan