feat(cron): disable_on_success for goal-driven usercron #836
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| paths: | |
| - "src/**" | |
| - "gateway/**" | |
| - "gateway/Cargo.lock" | |
| - "Cargo.toml" | |
| - "Cargo.lock" | |
| - "Dockerfile*" | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| - name: cargo check | |
| run: cargo check | |
| - name: cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: cargo test | |
| run: cargo test | |
| gateway: | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: gateway | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - uses: dtolnay/rust-toolchain@stable | |
| with: | |
| components: clippy | |
| - uses: Swatinem/rust-cache@v2 | |
| with: | |
| workspaces: gateway | |
| - name: cargo check | |
| run: cargo check | |
| - name: cargo clippy | |
| run: cargo clippy -- -D warnings | |
| - name: cargo test | |
| run: cargo test |