From 0f85743af91e12197a208803786056f81611c65b Mon Sep 17 00:00:00 2001 From: Brian Szmyd Date: Mon, 12 Aug 2024 11:07:45 -0700 Subject: [PATCH] Update github workflow actions --- .github/actions/setup_conan/action.yml | 4 ++-- .github/workflows/build_dependencies.yml | 6 +++--- .github/workflows/version_change_check.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/setup_conan/action.yml b/.github/actions/setup_conan/action.yml index 0d3dfe01..abe22393 100644 --- a/.github/actions/setup_conan/action.yml +++ b/.github/actions/setup_conan/action.yml @@ -9,9 +9,9 @@ runs: using: "composite" steps: - name: Setup Python - uses: actions/setup-python@v3 + uses: actions/setup-python@v5 with: - python-version: "3.8" + python-version: "3.10" - name: Setup Conan and Export Recipes shell: bash diff --git a/.github/workflows/build_dependencies.yml b/.github/workflows/build_dependencies.yml index a365256d..606098ac 100644 --- a/.github/workflows/build_dependencies.yml +++ b/.github/workflows/build_dependencies.yml @@ -86,13 +86,13 @@ jobs: runs-on: ${{ inputs.platform }} steps: - name: Retrieve Code - uses: actions/checkout@v3 + uses: actions/checkout@main with: ref: ${{ inputs.branch }} if: ${{ inputs.testing == 'True' }} - name: Retrieve Recipe - uses: actions/checkout@v3 + uses: actions/checkout@main with: repository: eBay/sisl ref: ${{ inputs.branch }} @@ -159,7 +159,7 @@ jobs: if: ${{ inputs.testing == 'True' && inputs.tooling == 'Coverage' }} - name: Upload coverage reports to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: token: ${{ secrets.CODECOV_TOKEN }} gcov: true diff --git a/.github/workflows/version_change_check.yml b/.github/workflows/version_change_check.yml index ff1901be..48b4907f 100644 --- a/.github/workflows/version_change_check.yml +++ b/.github/workflows/version_change_check.yml @@ -10,7 +10,7 @@ jobs: steps: - name: Checkout code - uses: actions/checkout@v2 + uses: actions/checkout@main with: fetch-depth: 2 - name: Check if file is modified