diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 51fa12d..c65f669 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -8,9 +8,18 @@ jobs: pre-commit: env: PYTHON_PATH: "./src:./tests:$PYTHON_PATH" - runs-on: ubuntu-latest + runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 + - name: Install MongoD + run: | + sudo apt-get install gnupg curl + curl -fsSL https://www.mongodb.org/static/pgp/server-8.0.asc | \ + sudo gpg -o /usr/share/keyrings/mongodb-server-8.0.gpg \ + --dearmor + echo "deb [ arch=amd64 signed-by=/usr/share/keyrings/mongodb-server-8.0.gpg ] https://repo.mongodb.org/apt/ubuntu noble/mongodb-org/8.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-8.0.list + sudo apt-get update + sudo apt-get install -y mongodb-org - uses: actions/setup-python@v4 with: python-version: "3.12"