From c277f56b02220db5c258958e6754abe57e15438a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A5kon=20V=2E=20Treider?= Date: Wed, 8 May 2024 12:41:04 +0200 Subject: [PATCH] repo checkout action cant be factored out --- .github/actions/setup.yml | 1 - .github/workflows/build.yml | 3 +++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/actions/setup.yml b/.github/actions/setup.yml index d98f69d34..f650ece86 100644 --- a/.github/actions/setup.yml +++ b/.github/actions/setup.yml @@ -13,7 +13,6 @@ inputs: runs: using: 'composite' steps: - - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: python-version: ${{ inputs.python_version }} diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 96a422c42..2109a6236 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -30,6 +30,7 @@ jobs: lint: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup.yml - name: Linting and static code checks run: pre-commit run --all-files @@ -37,6 +38,7 @@ jobs: build_docs: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup.yml - name: Build docs run: cd docs && make html SPHINXOPTS="-W --keep-going" @@ -44,6 +46,7 @@ jobs: test_core: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup.yml - name: Test core run: pytest tests/tests_unit -n8 --dist loadscope --maxfail 10 -m 'not dsl' --test-deps-only-core