name: CI
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
merge_group:
schedule:
- cron: "37 8 * * *"
workflow_dispatch:
permissions:
actions: read
contents: read
pull-requests: read
concurrency:
group: >-
ci-${{ github.workflow }}-${{ github.event_name == 'merge_group' && format('queue-{0}',
github.event.merge_group.base_ref) || format('{0}-{1}{2}', github.event_name,
github.event.pull_request.number || github.ref_name, github.event.pull_request.draft && '-draft'
|| '') }}
cancel-in-progress: true
jobs:
refresh:
if: github.event_name == 'schedule'
runs-on: ubuntu-latest
timeout-minutes: 2
permissions:
actions: write
steps:
- name: Dispatch CI on the default branch
env:
GH_TOKEN: ${{ github.token }}
REPOSITORY: ${{ github.repository }}
WORKFLOW: ${{ github.workflow_ref }}
run: |
workflow=${WORKFLOW%@*}
gh workflow run "${workflow##*/}" --repo "$REPOSITORY" --ref main
verify:
if: ${{ !github.event.pull_request.draft && github.event_name != 'schedule' }}
permissions:
actions: read
contents: read
id-token: write
pull-requests: read
uses: victor-software-house/actions/.github/workflows/rust-ci.yml@4168002fe58fd0b310bd2b65f9db2262fc0e21d3 with:
mise-version: 2026.11.6
advisories: true
semver: true
timeout-minutes: 8
build-runner: '["ubuntu-latest"]'
read-only-runner: '["ubuntu-latest"]'
light-runner: ubuntu-latest
cache-volume: false
secrets:
RELEASE_MIRROR_URL: ${{ secrets.RELEASE_MIRROR_URL }}
RELEASE_MIRROR_CI_KEY: ${{ secrets.RELEASE_MIRROR_CI_KEY }}