diff --git a/.github/actions/setup-project/action.yaml b/.github/actions/setup-project/action.yaml index c66ece8..50a886e 100644 --- a/.github/actions/setup-project/action.yaml +++ b/.github/actions/setup-project/action.yaml @@ -2,16 +2,17 @@ name: 'Setup airbase' description: 'Configure python, uv and airbase' inputs: python-version: + description: 'Python version to run on' required: false default: '3.x' allow-python-prereleases: + description: 'Allow Python prereleases' required: false default: false runs: using: "composite" steps: steps: - - uses: actions/checkout@v4 # https://docs.astral.sh/uv/guides/integration/github/#installation - name: Install uv # Install latest uv version using the installer diff --git a/.github/workflows/cicd.yaml b/.github/workflows/cicd.yaml index 7025e07..d410f21 100644 --- a/.github/workflows/cicd.yaml +++ b/.github/workflows/cicd.yaml @@ -16,6 +16,7 @@ jobs: - python: '3.13' prerelease: true steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-project name: Setup project with: @@ -31,6 +32,7 @@ jobs: needs: unit-test runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-project name: Setup project - run: uv run pytest -lvk "integration" @@ -40,6 +42,7 @@ jobs: lint: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-project name: Setup project - uses: pre-commit/action@v3.0.1 @@ -50,6 +53,7 @@ jobs: needs: [unit-test, lint, integration-test] runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - uses: ./.github/actions/setup-project name: Setup project - run: |