# Gitea Actions with Python

**URL:** <https://forum.gitea.com/t/gitea-actions-with-python/7605>\
**Category:** Actions\
**Created:** [July 23, 2023, 6:14pm UTC](https://forum.gitea.com/t/gitea-actions-with-python/7605 "2023-07-23T18:14:09Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![OfficialBoyfriend](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.gitea.com/officialboyfriend/32/3925_2.png) [@OfficialBoyfriend](https://forum.gitea.com/u/OfficialBoyfriend)\
**Post date:** [July 27, 2023, 4:30pm UTC](https://forum.gitea.com/t/gitea-actions-with-python/7605/4 "2023-07-27T16:30:25Z")

</div>

```auto
name: Django CI

on:
  push:
    branches: ["dev"]

jobs:
  ProjectTest:
    runs-on: ubuntu-latest
    container: catthehacker/ubuntu:act-latest
    steps:
      - uses: actions/checkout@v3
      - name: Set up Python 3.10
        uses: actions/setup-python@v3
        with:
          python-version: "3.10.12"

```

As shown above, add `container: catthehacker/ubuntu:act-latest` and try again. This works for me.

---

_[View the full topic](https://forum.gitea.com/t/gitea-actions-with-python/7605)._
