-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[infra] Update to checkout v4. (#1000)
- Loading branch information
Showing
11 changed files
with
50 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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/[email protected] | ||
- 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/[email protected] | ||
- 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/[email protected] 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/[email protected] | ||
- 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/[email protected] | ||
- 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: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] | ||
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/[email protected] | ||
- 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ jobs: | |
outputs: | ||
tket: ${{ steps.filter.outputs.tket }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/checkout@v4 | ||
- uses: dorny/[email protected] | ||
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/[email protected] | ||
- 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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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/[email protected] 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/[email protected] | ||
|
@@ -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: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.