diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml index 38091cf..ea9669d 100644 --- a/.github/workflows/docker-release.yaml +++ b/.github/workflows/docker-release.yaml @@ -6,6 +6,7 @@ on: jobs: release: runs-on: "ubuntu-latest" + timeout-minutes: 5 steps: - name: Check out the repo uses: actions/checkout@v4 diff --git a/.github/workflows/docker.yaml b/.github/workflows/docker.yaml index be9f09e..20dc158 100644 --- a/.github/workflows/docker.yaml +++ b/.github/workflows/docker.yaml @@ -12,6 +12,7 @@ on: jobs: docker: runs-on: "ubuntu-latest" + timeout-minutes: 5 steps: - uses: actions/checkout@v4 with: diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 13dbf9a..7353d6a 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -3,32 +3,33 @@ name: test on: push: branches: - - 'main' - - 'feature/**' + - "main" + - "feature/**" pull_request: branches: - - 'main' + - "main" jobs: test: strategy: matrix: platform: - - 'ubuntu-latest' + - "ubuntu-latest" python-version: - - '3.10' + - "3.10" runs-on: ${{ matrix.platform }} + timeout-minutes: 5 steps: - - uses: actions/checkout@v4 - - name: Set up Poetry - shell: bash - run: pipx install poetry - - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v5 - with: - python-version: ${{ matrix.python-version }} - cache: 'poetry' - - name: Run CI tests - shell: bash - run: | - make ci-test + - uses: actions/checkout@v4 + - name: Set up Poetry + shell: bash + run: pipx install poetry + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v5 + with: + python-version: ${{ matrix.python-version }} + cache: "poetry" + - name: Run CI tests + shell: bash + run: | + make ci-test