name: Python application on: push: branches: [ main, master ] pull_request: branches: [ main, master ] permissions: contents: write jobs: build: name: Test runs-on: ubuntu-22.04 strategy: matrix: python-version: [ '3.11' ] steps: - 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