Skip to content

Commit

Permalink
ci: 🎡 add mongod
Browse files Browse the repository at this point in the history
  • Loading branch information
miragecentury committed Dec 5, 2024
1 parent 619ce9b commit 459bb39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install MongoD
run: |
sudo apt-get upgrade -y
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"
Expand Down

0 comments on commit 459bb39

Please sign in to comment.