diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index f96cca222..466f67219 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -6,16 +6,16 @@ on: [push] jobs: test-lint: name: Test and Lint - runs-on: ubuntu-20.04 + runs-on: ubuntu-24.04 steps: - name: Login to Docker Hub - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Test - run: docker-compose run --rm app sh -c "python manage.py wait_for_db && python manage.py test" + run: docker compose run --rm app sh -c "python manage.py wait_for_db && python manage.py test" - name: Lint - run: docker-compose run --rm app sh -c "flake8" + run: docker compose run --rm app sh -c "flake8" diff --git a/README.md b/README.md index d2cd46959..5685b22da 100644 --- a/README.md +++ b/README.md @@ -20,3 +20,5 @@ This is the code for the second edition of the course that was released in 2022. Course code for: [Build a Backend REST API with Python & Django - Advanced](https://londonapp.dev/c2) + +test