1
0
mirror of https://github.com/emilk/egui.git synced 2026-06-27 07:03:14 -04:00
Files
egui/.github/workflows/cargo_machete.yml
Lucas Meurer d66fa63e20 Add reasonable timeouts to all workflows (#7499)
Turns out the default timeout for github actions is 6 hours (!). This PR
sets some reasonable default for all workflows, the ones invoking cargo
in some way are limited to 60 minutes and the remaining ones to
10-15mins.
2025-09-04 12:37:24 +02:00

20 lines
443 B
YAML

name: Cargo Machete
on: [push, pull_request]
jobs:
cargo-machete:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.86
- name: Machete install
## The official cargo-machete action
uses: bnjbvr/cargo-machete@main
- name: Checkout
uses: actions/checkout@v4
- name: Machete Check
run: cargo machete