diff --git a/.forgejo/workflows/workflow.yaml b/.forgejo/workflows/workflow.yaml index 2146778..091d4e8 100644 --- a/.forgejo/workflows/workflow.yaml +++ b/.forgejo/workflows/workflow.yaml @@ -9,16 +9,16 @@ jobs: lint: name: Lint Code (Ruff & Pylint) runs-on: docker - container: www.coastalcommits.com/cswimr/actions:uv@sha256:211aaf7d9ac98087579ebf9fab87a9122f51b2697e3a3649ac9f4bd3b03b8e5d + container: catthehacker/ubuntu:act-latest steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 - - name: Install python - run: uv python install 3.11 - - - name: Install dependencies - run: uv sync + - name: "Setup uv" + uses: https://github.com/astral-sh/setup-uv@v5 + with: + version: "latest" + enable-cache: true - name: Analysing code with Ruff run: uv run ruff check $(git ls-files '*.py') @@ -30,15 +30,18 @@ jobs: docs: name: Build Documentation (MkDocs) runs-on: docker - container: www.coastalcommits.com/cswimr/actions:docs@sha256:e405cd6b9b1182a570ddee32ed8dd1b2f899edc625d006c8b4b2f18c100e724f + container: catthehacker/ubuntu:act-latest steps: - name: Checkout uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 with: fetch-depth: 0 - - name: Install python - run: uv python install 3.11 + - name: "Setup uv" + uses: https://github.com/astral-sh/setup-uv@v5 + with: + version: "latest" + enable-cache: true - name: Install dependencies run: uv sync --no-dev --extra=documentation