name: Python application on: push: branches: [ main, master ] pull_request: branches: [ main, master ] permissions: contents: write jobs: build: name: Test runs-on: ubuntu-20.04 strategy: matrix: python-version: [ '3.10' ] steps: - uses: actions/checkout@v4 - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} cache: 'pip' env: CI: true AGENT_TOOLSDIRECTORY: /opt/gitea-runner/_work/_tool