From 14b128418a5ec7b010692f0199af80e5a4d10e9c Mon Sep 17 00:00:00 2001 From: Scott Todd Date: Tue, 6 Aug 2024 14:58:06 -0700 Subject: [PATCH] Use Python 3.11. --- .github/workflows/samples.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/samples.yml b/.github/workflows/samples.yml index 2fadcf8e00882..c4eb151572470 100644 --- a/.github/workflows/samples.yml +++ b/.github/workflows/samples.yml @@ -68,13 +68,15 @@ jobs: run: shell: bash steps: - - name: "Checking out repository" + - name: "Check out repository" uses: actions/checkout@v4.1.7 - - name: "Marking git safe.directory" + - name: "Mark git safe.directory" run: git config --global --add safe.directory '*' - - name: "Checking out runtime submodules" + - name: "Check out runtime submodules" run: ./build_tools/scripts/git/update_runtime_submodules.sh - + - uses: actions/setup-python@v5.1.0 + with: + python-version: "3.11" - name: "Setup Python venv" run: | python3 -m venv ${VENV_DIR} @@ -84,8 +86,7 @@ jobs: --upgrade \ iree-compiler \ iree-runtime - - - name: "Testing Experimental Web Samples" + - name: "Test experimental web samples" env: HOST_TOOLS_BINARY_DIR: ${{ env.VENV_DIR }}/bin IREE_EMPSCRIPTEN_BUILD_DIR: build-emscripten