From 797021874b5442853f25c71357ae90aa7f277430 Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Thu, 13 Jul 2023 05:37:22 +0200 Subject: [PATCH 1/2] ci: use latest python for best performance --- .github/workflows/tests.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8ea4cc48f..798140c3c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,10 +27,11 @@ jobs: steps: - name: Checkout capa uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - - name: Set up Python 3.8 + # use latest avaialble python to take advantage of best performance + - name: Set up Python 3.11 uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: - python-version: "3.8" + python-version: "3.11" - name: Install dependencies run: pip install -e .[dev] - name: Lint with ruff @@ -51,10 +52,10 @@ jobs: uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 with: submodules: recursive - - name: Set up Python 3.8 + - name: Set up Python 3.11 uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: - python-version: "3.8" + python-version: "3.11" - name: Install capa run: pip install -e .[dev] - name: Run rule linter From c29d0a4f56253682333f3fcfb06527d84404aaae Mon Sep 17 00:00:00 2001 From: Willi Ballenthin Date: Thu, 13 Jul 2023 10:45:43 +0200 Subject: [PATCH 2/2] Update .github/workflows/tests.yml Co-authored-by: Moritz --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 798140c3c..8e6cead2b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -27,7 +27,7 @@ jobs: steps: - name: Checkout capa uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 - # use latest avaialble python to take advantage of best performance + # use latest available python to take advantage of best performance - name: Set up Python 3.11 uses: actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435 # v4.5.0 with: