name: CI # Linux checks for Gitea act_runner; runner setup and scope: docs/ci.md. # Off for pushes and pull requests: run by hand only. on: push: branches: ["main"] paths: - "**" - "!docs/**" - "!**/*.md" - "THIRD_PARTY_NOTICES.md" pull_request: paths: - "**" - "!docs/**" - "!**/*.md" - "THIRD_PARTY_NOTICES.md" workflow_dispatch: env: CARGO_TERM_COLOR: always # Cargo fetches the private VoelinProtocol dependency with the system git and # ssh (docs/ci.md, "VoelinProtocol access"). The checks action exports this # too; set here as well, it does not depend on the runner handing a composite # action's GITHUB_ENV on to the later steps. CARGO_NET_GIT_FETCH_WITH_CLI: "true" jobs: linux: name: Linux checks runs-on: ubuntu-24.04 timeout-minutes: 180 defaults: run: shell: bash steps: - uses: https://github.com/actions/checkout@v4 - uses: ./.gitea/actions/checks with: # A repository secret is not visible inside the composite action, so # it is passed in. Pull requests from forks get no secrets: the # action then fails at once with a message that says so. protocol-deploy-key: ${{ secrets.VOELIN_PROTOCOL_DEPLOY_KEY }}