diff --git a/.github/workflows/build-without-conan.yml b/.github/workflows/build-without-conan.yml index 04d3583aac..fd57e6a932 100644 --- a/.github/workflows/build-without-conan.yml +++ b/.github/workflows/build-without-conan.yml @@ -14,7 +14,7 @@ jobs: INSTALL_DIR: "/home/runner/local" TMP_DIR: "/home/runner/tmp" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Create directories run: | mkdir ${INSTALL_DIR} diff --git a/.github/workflows/build_and_test.yml b/.github/workflows/build_and_test.yml index 494b32b409..a64c1f9c3c 100644 --- a/.github/workflows/build_and_test.yml +++ b/.github/workflows/build_and_test.yml @@ -28,7 +28,7 @@ jobs: tket_ver: ${{ steps.tket_ver.outputs.tket_ver }} tket_package_exists: ${{ steps.tket_package_exists.outputs.tket_package_exists }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: '3.11' @@ -66,7 +66,7 @@ jobs: if: needs.check_changes.outputs.tket_changed == 'true' || needs.check_changes.outputs.doxyfile_changed == 'true' runs-on: 'ubuntu-22.04' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check doxygen run: | sudo apt install -y doxygen graphviz @@ -78,7 +78,7 @@ jobs: if: needs.check_changes.outputs.tket_changed == 'true' runs-on: 'macos-12' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Check C++ code formatting run: | brew update @@ -94,7 +94,7 @@ jobs: os: ['ubuntu-22.04', 'macos-12'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: apt update if: matrix.os == 'ubuntu-22.04' run: sudo apt update @@ -144,7 +144,7 @@ jobs: os: ['windows-2022'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 with: @@ -215,7 +215,7 @@ jobs: needs: check_changes if: needs.check_changes.outputs.tket_changed == 'true' && github.repository == 'CQCL/tket' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: Set up conan @@ -268,7 +268,7 @@ jobs: if: needs.check_changes.outputs.tket_changed == 'true' || needs.check_changes.outputs.pytket_changed == 'true' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: Set up conan @@ -363,7 +363,7 @@ jobs: if: needs.check_changes.outputs.tket_changed == 'true' || needs.check_changes.outputs.pytket_changed == 'true' runs-on: macos-12 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.2 fails on macos-12 uses: actions/setup-python@v4 @@ -452,7 +452,7 @@ jobs: if: needs.check_changes.outputs.tket_changed == 'true' || needs.check_changes.outputs.pytket_changed == 'true' runs-on: windows-2022 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: Set up conan @@ -524,7 +524,7 @@ jobs: needs: check_changes if: (needs.check_changes.outputs.tket_changed == 'true' || needs.check_changes.outputs.pytket_changed == 'true') && github.repository == 'CQCL/tket' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: Set up conan @@ -620,7 +620,7 @@ jobs: if: github.event_name == 'push' && github.ref == 'refs/heads/develop' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: Download artefact @@ -648,7 +648,7 @@ jobs: if: github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download artefact uses: actions/download-artifact@v3 with: diff --git a/.github/workflows/build_libs.yml b/.github/workflows/build_libs.yml index 747a8e1567..a4ef33033b 100644 --- a/.github/workflows/build_libs.yml +++ b/.github/workflows/build_libs.yml @@ -19,7 +19,7 @@ jobs: tkwsm: ${{ steps.filter.outputs.tkwsm }} libs: ${{ steps.filter.outputs.changes }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2.11.1 id: filter with: @@ -46,7 +46,7 @@ jobs: build_type: ['Release', 'Debug'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: normalize line endings in conanfile and src directory if: matrix.os == 'windows-2022' # This is necessary to ensure consistent revisions across platforms. @@ -93,7 +93,7 @@ jobs: lib: ${{ fromJson(needs.changes.outputs.libs) }} build_type: ['Release', 'Debug'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: create profile @@ -125,7 +125,7 @@ jobs: env: UPLOAD_PACKAGE: "NO" steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: set up container run: | docker create --name linux_build -i -v /:/host quay.io/pypa/manylinux2014_x86_64:latest /bin/bash diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 688c164709..badf0a6f19 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -23,7 +23,7 @@ jobs: outputs: tket: ${{ steps.filter.outputs.tket }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2.11.1 id: filter with: @@ -39,7 +39,7 @@ jobs: if: needs.changes.outputs.tket == 'true' || github.event_name == 'schedule' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: create profile @@ -90,7 +90,7 @@ jobs: if: ((github.event_name == 'pull_request' || github.event_name == 'workflow_dispatch') && needs.changes.outputs.tket == 'true') || github.event_name == 'schedule' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Download artefact uses: actions/download-artifact@v3 with: @@ -114,7 +114,7 @@ jobs: if: github.event_name == 'push' && needs.changes.outputs.tket == 'true' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: Download artefact @@ -143,7 +143,7 @@ jobs: if: github.event_name == 'schedule' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: Download artefact diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 190161fce6..c567f072a8 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -11,7 +11,7 @@ jobs: build_docs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Doxygen run: sudo apt update && sudo apt install -y doxygen graphviz - name: Build Doxygen docs @@ -26,7 +26,7 @@ jobs: concurrency: gh_pages runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: Download artefact diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 907e7dbf05..314034598f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.x uses: actions/setup-python@v4 with: diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index 900bb7fd42..ab1097c560 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -21,7 +21,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Select Python 3.10 # otherwise turtlebrowser/get-conan@v1.2 fails on macos-12 @@ -49,7 +49,7 @@ jobs: runs-on: ['self-hosted', 'macOS', 'ARM64'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 @@ -74,7 +74,7 @@ jobs: runs-on: 'ubuntu-22.04' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up container run: | @@ -91,7 +91,7 @@ jobs: runs-on: ['self-hosted', 'macOS', 'ARM64'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up container run: | diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 58280b093a..3a97a24cac 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,7 @@ jobs: matrix: python3-version: ['9', '10', '11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* @@ -42,7 +42,7 @@ jobs: matrix: python3-version: ['9', '10', '11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* @@ -78,7 +78,7 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* @@ -116,7 +116,7 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* @@ -158,7 +158,7 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: '0' - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* @@ -205,7 +205,7 @@ jobs: path: wheelhouse/ - name: Install wheel run: pip install wheelhouse/pytket-*.whl - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: tket - name: Setup tests @@ -223,7 +223,7 @@ jobs: matrix: python3-version: ['9', '10', '11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: tket - name: Download wheel @@ -268,7 +268,7 @@ jobs: with: name: MacOS_${{ matrix.python-version }}_wheel path: wheelhouse/ - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: tket - name: Install wheel @@ -288,7 +288,7 @@ jobs: matrix: python-version: ['3.9', '3.10', '3.11'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: tket - name: Download wheels @@ -330,7 +330,7 @@ jobs: - name: Install wheel shell: bash run: for i in wheelhouse/pytket-*.whl ; do pip install $i ; done - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: path: tket - name: Run tests @@ -367,7 +367,7 @@ jobs: if: github.event_name == 'release' runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -399,7 +399,7 @@ jobs: if: github.event_name == 'release' && github.event.release.prerelease != true runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: Download artefact diff --git a/.github/workflows/test_libs.yml b/.github/workflows/test_libs.yml index 8c47c5165b..ef02325647 100644 --- a/.github/workflows/test_libs.yml +++ b/.github/workflows/test_libs.yml @@ -19,7 +19,7 @@ jobs: tkrng: ${{ steps.filter.outputs.tkrng }} libs: ${{ steps.filter.outputs.changes }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2.11.1 id: filter with: @@ -67,7 +67,7 @@ jobs: lib: ${{ fromJson(needs.set_libs_matrix.outputs.libs) }} runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -98,7 +98,7 @@ jobs: matrix: lib: ${{ fromJson(needs.set_libs_matrix.outputs.libs) }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: create profile @@ -124,7 +124,7 @@ jobs: lib: ${{ fromJson(needs.set_libs_matrix.outputs.libs) }} runs-on: 'ubuntu-22.04' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: create profile @@ -173,7 +173,7 @@ jobs: concurrency: gh_pages runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: gh-pages - name: download artefact diff --git a/.github/workflows/test_libs_all.yml b/.github/workflows/test_libs_all.yml index 7656905757..31e477d0d1 100644 --- a/.github/workflows/test_libs_all.yml +++ b/.github/workflows/test_libs_all.yml @@ -14,7 +14,7 @@ jobs: lib: ['tklog', 'tkassert', 'tkrng', 'tktokenswap', 'tkwsm'] runs-on: ${{ matrix.os }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Set up Python 3.10 uses: actions/setup-python@v4 with: @@ -42,7 +42,7 @@ jobs: matrix: lib: ['tklog', 'tkassert', 'tkrng', 'tktokenswap', 'tkwsm'] steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install conan uses: turtlebrowser/get-conan@v1.2 - name: create profile diff --git a/.github/workflows/valgrind.yml b/.github/workflows/valgrind.yml index 25843b6e08..d5bbb7b9b6 100644 --- a/.github/workflows/valgrind.yml +++ b/.github/workflows/valgrind.yml @@ -18,7 +18,7 @@ jobs: outputs: tket: ${{ steps.filter.outputs.tket }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: dorny/paths-filter@v2.11.1 id: filter with: @@ -32,7 +32,7 @@ jobs: needs: changes if: needs.changes.outputs.tket == 'true' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: apt update run: sudo apt update - name: Install conan