diff --git a/.github/actions/setup.yml b/.github/actions/setup.yml index 826ac70d..ab89c87f 100644 --- a/.github/actions/setup.yml +++ b/.github/actions/setup.yml @@ -4,12 +4,8 @@ description: "Setup the environment" runs: using: "composite" steps: - - name: Checkout the code - uses: actions/checkout@v5 - with: - fetch-depth: 0 # Need the tags to build # Setup the SDKs - - name: Set up Python 3.9 + - name: Set up Python uses: actions/setup-python@v5 with: python-version: '3.12' diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 1e9a429a..b1180839 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -29,6 +29,10 @@ jobs: runs-on: ubuntu-latest needs: pre-commit steps: + - name: Checkout the code + uses: actions/checkout@v5 + with: + fetch-depth: 0 # Need the tags to build - name: Setup uses: ./.github/actions/setup.yml - name: Native build