diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index dfb63a0..dc7b5d6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,13 +20,19 @@ jobs: python-version: [ '3.11' ] steps: - - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 - with: - path: ~/.cache - python-version: ${{ matrix.python-version }} - cache: 'pip' - env: - CI: true - AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool + - uses: actions/checkout@v4 + + - name: apt update + run: | + apt update + apt full-upgrade -y + + - uses: actions/setup-python@v4 + with: + path: ~/.cache + python-version: ${{ matrix.python-version }} + cache: 'pip' + env: + CI: true + AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool